Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.689/1.689, allocations: 287.4 MB / 302.5 MB, free: 8.27 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.001013/0.001013, allocations: 178 kB / 371.1 MB, free: 10.82 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.538/1.538, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008771/0.0008771, allocations: 91.73 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 11.72 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01603/0.2245, allocations: 21.24 MB / 0.9995 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00899/0.2335, allocations: 6.23 MB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.2355, allocations: 79.5 kB / 1.006 GB, free: 464 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.2369, allocations: 456.5 kB / 1.006 GB, free: 4 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.2413, allocations: 1.548 MB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.2442, allocations: 0.9166 MB / 1.008 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008719/0.253, allocations: 8.213 MB / 1.017 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.2646, allocations: 7.977 MB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.2686, allocations: 2.113 MB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004765/0.2734, allocations: 3.127 MB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.2745, allocations: 248 kB / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.2771, allocations: 0.5814 MB / 1.03 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.2803, allocations: 2.089 MB / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.2822, allocations: 0.8433 MB / 1.033 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.2892, allocations: 7.001 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2893, allocations: 0 / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2893, allocations: 0 / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002853/0.2896, allocations: 0 / 1.04 GB, free: 13.2 MB / 0.6667 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.008402/0.298, allocations: 3.562 MB / 1.043 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.2981, allocations: 20.02 kB / 1.043 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002007/0.3001, allocations: 0.5675 MB / 1.044 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008555/0.3086, allocations: 1.689 MB / 1.046 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006206/0.3149, allocations: 2.571 MB / 1.048 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.3152, allocations: 275.7 kB / 1.048 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.3165, allocations: 360.2 kB / 1.049 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.3313, allocations: 7.463 MB / 1.056 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.3315, allocations: 23.78 kB / 1.056 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.3325, allocations: 155.9 kB / 1.056 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006449/0.3332, allocations: 487.3 kB / 1.057 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.3441, allocations: 5.678 MB / 1.062 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4665/0.8106, allocations: 31.66 MB / 1.093 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.8143, allocations: 2.091 MB / 1.095 GB, free: 56.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003668/0.818, allocations: 2.174 MB / 1.097 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.8181, allocations: 15.88 kB / 1.097 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.8182, allocations: 46.12 kB / 1.097 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 4.529e-06/0.8182, allocations: 3.656 kB / 1.097 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.2786/1.097, allocations: 75.27 MB / 1.171 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.097, allocations: 81.34 kB / 1.171 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.099, allocations: 1.654 MB / 1.173 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003708/1.099, allocations: 73.58 kB / 1.173 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/1.1, allocations: 1.751 MB / 1.174 GB, free: 428 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008745/1.101, allocations: 0.8462 MB / 1.175 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/1.101, allocations: 52 kB / 1.175 GB, free: 15.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.101, allocations: 411.2 kB / 1.176 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003538/1.105, allocations: 2.718 MB / 1.178 GB, free: 12.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/1.109, allocations: 3.324 MB / 1.181 GB, free: 8.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00786/1.117, allocations: 6.378 MB / 1.188 GB, free: 2.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.117, allocations: 4 kB / 1.188 GB, free: 2.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02947/1.146, allocations: 14.66 MB / 1.202 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.146, allocations: 20.19 kB / 1.202 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.146, allocations: 19.94 kB / 1.202 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02704/1.173, allocations: 9.224 MB / 1.211 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.174, allocations: 299.4 kB / 1.211 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08491/1.259, allocations: 47.08 MB / 1.257 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/1.263, allocations: 223.7 kB / 1.258 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/1.264, allocations: 100 kB / 1.258 GB, free: 9.699 MB / 0.7761 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.003818/1.268, allocations: 1.59 MB / 1.259 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.268, allocations: 241.1 kB / 1.259 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03059/1.299, allocations: 14.74 MB / 1.274 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/1.299, allocations: 24 kB / 1.274 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001303/1.299, allocations: 44 kB / 1.274 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/1.299, allocations: 15.89 kB / 1.274 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04447/1.344, allocations: 20.5 MB / 1.294 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.772e-05/1.344, allocations: 8 kB / 1.294 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/1.345, allocations: 160.6 kB / 1.294 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02941/1.374, allocations: 8.998 MB / 1.303 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005116/1.375, allocations: 51.98 kB / 1.303 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07294/1.447, allocations: 46.7 MB / 1.349 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/1.448, allocations: 15.88 kB / 1.349 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03209/1.48, allocations: 14.34 MB / 1.363 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.482, allocations: 0.8455 MB / 1.363 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.483, allocations: 55.94 kB / 1.363 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.486, allocations: 211.7 kB / 1.364 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001525/1.488, allocations: 237.5 kB / 1.364 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003823/1.488, allocations: 67.38 kB / 1.364 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003077/1.491, allocations: 1.11 MB / 1.365 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/1.491, allocations: 0 / 1.365 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005849/1.497, allocations: 1.594 MB / 1.367 GB, free: 8.922 MB / 0.8855 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.03198/1.529, allocations: 14.96 MB / 1.381 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02121/1.55, allocations: 10.33 MB / 1.391 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.55, allocations: 4 kB / 1.391 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01617/1.567, allocations: 7.156 MB / 1.398 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.572, allocations: 0.5025 MB / 1.399 GB, free: 7.684 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3988/1.97, allocations: 35.9 MB / 1.434 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005338/1.976, allocations: 3.222 MB / 1.437 GB, free: 310.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001444/1.977, allocations: 392.4 kB / 1.437 GB, free: 310.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.979, allocations: 1.484 MB / 1.439 GB, free: 309.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/1.979, allocations: 0 / 1.439 GB, free: 309.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7524/2.731, allocations: 112.3 MB / 1.548 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/2.731, allocations: 240.4 kB / 1.549 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.894/7.625, allocations: 0 / 1.549 GB, free: 229.9 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)