Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 99.66 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 195.1 kB / 16.9 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6811/0.6811, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3254, allocations: 76.17 MB / 0.556 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02023/0.3456, allocations: 23.21 MB / 0.5787 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3557, allocations: 6.44 MB / 0.585 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.3574, allocations: 82.19 kB / 0.5851 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.3603, allocations: 1.359 MB / 0.5864 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.3636, allocations: 1.705 MB / 0.5881 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.3663, allocations: 1.33 MB / 0.5894 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005782/0.3721, allocations: 6.944 MB / 0.5961 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00771/0.3799, allocations: 8.13 MB / 0.6041 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.3829, allocations: 2.885 MB / 0.6069 GB, free: 400 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.3864, allocations: 3.697 MB / 0.6105 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.387, allocations: 0.5273 MB / 0.611 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.389, allocations: 1.174 MB / 0.6122 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.3909, allocations: 2.472 MB / 0.6146 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.393, allocations: 2.532 MB / 0.6171 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.3995, allocations: 8.522 MB / 0.6254 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3995, allocations: 4 kB / 0.6254 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3995, allocations: 4 kB / 0.6254 GB, free: 13.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.237e-05/0.3996, allocations: 0 / 0.6254 GB, free: 13.4 MB / 478.1 MB 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.006669/0.4063, allocations: 4.412 MB / 0.6297 GB, free: 8.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4064, allocations: 12.03 kB / 0.6297 GB, free: 8.91 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006872/0.407, allocations: 0.5753 MB / 0.6303 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007604/0.4147, allocations: 1.677 MB / 0.6319 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/0.4192, allocations: 2.579 MB / 0.6344 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4194, allocations: 275.7 kB / 0.6347 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008275/0.4203, allocations: 364.2 kB / 0.635 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.4336, allocations: 7.479 MB / 0.6423 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.4338, allocations: 23.86 kB / 0.6424 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/0.4344, allocations: 159.9 kB / 0.6425 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008354/0.4353, allocations: 487.3 kB / 0.643 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4486, allocations: 5.697 MB / 0.6485 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04108/0.4897, allocations: 31.72 MB / 0.6795 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.4925, allocations: 2.093 MB / 0.6816 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.4953, allocations: 2.174 MB / 0.6837 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.4955, allocations: 21.19 kB / 0.6837 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4956, allocations: 51.88 kB / 0.6838 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/0.4956, allocations: 0 / 0.6838 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5039/0.9995, allocations: 77 MB / 0.759 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.9996, allocations: 80.34 kB / 0.759 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/1.002, allocations: 1.667 MB / 0.7607 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003297/1.002, allocations: 66.42 kB / 0.7607 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007737/1.003, allocations: 1.748 MB / 0.7624 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006458/1.003, allocations: 0.8468 MB / 0.7633 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009487/1.004, allocations: 487.9 kB / 0.7637 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.398e-05/1.004, allocations: 301.8 kB / 0.764 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.008, allocations: 2.73 MB / 0.7667 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.011, allocations: 3.333 MB / 0.7699 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007126/1.018, allocations: 6.396 MB / 0.7762 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.018, allocations: 6.188 kB / 0.7762 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02633/1.045, allocations: 14.68 MB / 0.7905 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.045, allocations: 13.75 kB / 0.7905 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.045, allocations: 19.22 kB / 0.7905 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02464/1.069, allocations: 9.299 MB / 0.7996 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.07, allocations: 303.5 kB / 0.7999 GB, free: 131.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06302/1.133, allocations: 52.38 MB / 0.8511 GB, free: 78.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/1.137, allocations: 224.6 kB / 0.8513 GB, free: 78.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.137, allocations: 100 kB / 0.8514 GB, free: 78.19 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002547/1.14, allocations: 1.586 MB / 0.8529 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/1.14, allocations: 241.1 kB / 0.8532 GB, free: 76.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02542/1.166, allocations: 14.76 MB / 0.8676 GB, free: 61.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.166, allocations: 27.94 kB / 0.8676 GB, free: 61.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/1.166, allocations: 44 kB / 0.8676 GB, free: 61.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/1.166, allocations: 11.95 kB / 0.8676 GB, free: 61.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/1.2, allocations: 20.51 MB / 0.8877 GB, free: 40.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.2, allocations: 8 kB / 0.8877 GB, free: 40.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/1.201, allocations: 171.8 kB / 0.8878 GB, free: 40.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/1.225, allocations: 9.053 MB / 0.8967 GB, free: 31.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000503/1.225, allocations: 53.06 kB / 0.8967 GB, free: 31.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06772/1.293, allocations: 51.97 MB / 0.9475 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.293, allocations: 15.88 kB / 0.9475 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03159/1.325, allocations: 14.36 MB / 0.9615 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/1.327, allocations: 0.8454 MB / 0.9623 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/1.328, allocations: 59.86 kB / 0.9624 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.33, allocations: 211.7 kB / 0.9626 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/1.331, allocations: 229.5 kB / 0.9628 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.331, allocations: 68 kB / 0.9629 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00157/1.333, allocations: 1.129 MB / 0.964 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.333, allocations: 0 / 0.964 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004764/1.338, allocations: 1.613 MB / 0.9656 GB, free: 7.977 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02985/1.368, allocations: 14.98 MB / 0.9802 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2511/1.619, allocations: 11.31 MB / 0.9912 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.619, allocations: 2.094 kB / 0.9913 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/1.635, allocations: 7.32 MB / 0.9984 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/1.638, allocations: 0.5476 MB / 0.9989 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09068/1.728, allocations: 55.14 MB / 1.053 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.731, allocations: 3.222 MB / 1.056 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001142/1.732, allocations: 391.3 kB / 1.056 GB, free: 174 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.734, allocations: 1.468 MB / 1.058 GB, free: 172.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.332e-06/1.734, allocations: 0 / 1.058 GB, free: 172.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/1.874, allocations: 120.4 MB / 1.175 GB, free: 52.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/1.874, allocations: 261.4 kB / 1.176 GB, free: 52.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.371/5.245, allocations: 0 / 1.176 GB, free: 52.41 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)