Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.055 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001158, allocations: 190.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008195, allocations: 106 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 12.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01839/0.2636, allocations: 20.48 MB / 0.9995 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.2738, allocations: 6.277 MB / 1.006 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.2761, allocations: 75.5 kB / 1.006 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.2774, allocations: 469.1 kB / 1.006 GB, free: 248 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004137/0.2816, allocations: 1.196 MB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003339/0.285, allocations: 0.9238 MB / 1.008 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005818/0.2908, allocations: 3.208 MB / 1.011 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.3018, allocations: 7.087 MB / 1.018 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.3053, allocations: 1.725 MB / 1.02 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003707/0.3091, allocations: 2.076 MB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008286/0.3099, allocations: 244 kB / 1.022 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.3116, allocations: 487.6 kB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.3138, allocations: 1.918 MB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.3152, allocations: 0.8394 MB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.3235, allocations: 6.892 MB / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3236, allocations: 0 / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3236, allocations: 0 / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002645/0.3239, allocations: 0 / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009254/0.3331, allocations: 3.582 MB / 1.036 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.713e-05/0.3332, allocations: 12.02 kB / 1.036 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002502/0.3357, allocations: 0.5673 MB / 1.036 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00945/0.3452, allocations: 1.793 MB / 1.038 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.3516, allocations: 2.501 MB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.3519, allocations: 283.3 kB / 1.041 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001307/0.3533, allocations: 355.9 kB / 1.041 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.3669, allocations: 7.428 MB / 1.048 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.377e-05/0.367, allocations: 19.78 kB / 1.048 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/0.3674, allocations: 163.9 kB / 1.048 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/0.368, allocations: 479.3 kB / 1.049 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.3781, allocations: 5.685 MB / 1.054 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.585/0.9631, allocations: 31.64 MB / 1.085 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/0.9685, allocations: 2.085 MB / 1.087 GB, free: 63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.9692, allocations: 19.19 kB / 1.087 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.573e-05/0.9693, allocations: 45.7 kB / 1.087 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 8.145e-06/0.9693, allocations: 0.8125 kB / 1.087 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.3505/1.32, allocations: 75.26 MB / 1.161 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.32, allocations: 77.41 kB / 1.161 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/1.322, allocations: 1.654 MB / 1.163 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006629/1.323, allocations: 61.7 kB / 1.163 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009157/1.324, allocations: 1.744 MB / 1.164 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.325, allocations: 0.854 MB / 1.165 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/1.326, allocations: 48 kB / 1.165 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.326, allocations: 415.2 kB / 1.166 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/1.33, allocations: 2.722 MB / 1.168 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003835/1.334, allocations: 3.308 MB / 1.172 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/1.338, allocations: 3.057 MB / 1.174 GB, free: 15.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.338, allocations: 4 kB / 1.174 GB, free: 15.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03732/1.375, allocations: 14.64 MB / 1.189 GB, free: 0.707 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/1.375, allocations: 19.83 kB / 1.189 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/1.375, allocations: 16 kB / 1.189 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03179/1.407, allocations: 9.234 MB / 1.198 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.409, allocations: 303.5 kB / 1.198 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1091/1.518, allocations: 49.59 MB / 1.247 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/1.523, allocations: 215.7 kB / 1.247 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007615/1.523, allocations: 108 kB / 1.247 GB, free: 4.387 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005056/1.528, allocations: 1.582 MB / 1.248 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.529, allocations: 241.1 kB / 1.249 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04989/1.579, allocations: 14.72 MB / 1.263 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/1.579, allocations: 24 kB / 1.263 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001852/1.58, allocations: 44 kB / 1.263 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.412e-05/1.58, allocations: 11.95 kB / 1.263 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04721/1.627, allocations: 20.5 MB / 1.283 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/1.627, allocations: 12.16 kB / 1.283 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/1.628, allocations: 159.8 kB / 1.283 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02993/1.658, allocations: 8.998 MB / 1.292 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007762/1.659, allocations: 52 kB / 1.292 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08111/1.74, allocations: 49.2 MB / 1.34 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.74, allocations: 8 kB / 1.34 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03429/1.774, allocations: 14.77 MB / 1.355 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003053/1.777, allocations: 0.8531 MB / 1.355 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/1.778, allocations: 48 kB / 1.355 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/1.78, allocations: 211.7 kB / 1.356 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.782, allocations: 241.5 kB / 1.356 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.782, allocations: 64 kB / 1.356 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001621/1.783, allocations: 1.113 MB / 1.357 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/1.783, allocations: 0 / 1.357 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005424/1.789, allocations: 1.594 MB / 1.359 GB, free: 492 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03401/1.823, allocations: 17.11 MB / 1.375 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02495/1.848, allocations: 10.34 MB / 1.385 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.848, allocations: 0 / 1.385 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01918/1.867, allocations: 7.144 MB / 1.392 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/1.871, allocations: 0.4883 MB / 1.393 GB, free: 13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5542/2.425, allocations: 47.41 MB / 1.439 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00475/2.43, allocations: 3.301 MB / 1.442 GB, free: 310.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00149/2.431, allocations: 389.1 kB / 1.443 GB, free: 310.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/2.433, allocations: 1.483 MB / 1.444 GB, free: 308.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.383e-06/2.433, allocations: 1.859 kB / 1.444 GB, free: 308.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1611/2.594, allocations: 112.3 MB / 1.554 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/2.594, allocations: 240.6 kB / 1.554 GB, free: 223 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.504/7.099, allocations: 4 kB / 1.554 GB, free: 223 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)