Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.0007928/0.0007928, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008148/0.0008148, allocations: 175.8 kB / 16.57 MB, free: 6.852 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.277/1.277, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6265/0.6265, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007922/0.1399, allocations: 8.745 MB / 0.5653 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.1443, allocations: 3.031 MB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.1449, allocations: 27.81 kB / 0.5683 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1453, allocations: 178.9 kB / 0.5684 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1463, allocations: 0.4946 MB / 0.5689 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1474, allocations: 0.5226 MB / 0.5694 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1488, allocations: 1.45 MB / 0.5708 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.1522, allocations: 2.714 MB / 0.5735 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.1532, allocations: 0.8139 MB / 0.5743 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1543, allocations: 0.9972 MB / 0.5753 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1544, allocations: 116 kB / 0.5754 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.1549, allocations: 223.8 kB / 0.5756 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.1556, allocations: 0.8537 MB / 0.5764 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.1559, allocations: 376.8 kB / 0.5768 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.158, allocations: 2.957 MB / 0.5797 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.158, allocations: 0 / 0.5797 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.158, allocations: 0 / 0.5797 GB, free: 4.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.16e-05/0.158, allocations: 0 / 0.5797 GB, free: 4.082 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002933/0.161, allocations: 1.78 MB / 0.5814 GB, free: 2.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.161, allocations: 8.031 kB / 0.5814 GB, free: 2.238 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.1613, allocations: 261 kB / 0.5817 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.1744, allocations: 1.433 MB / 0.5831 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2592/0.4336, allocations: 1.222 MB / 0.5842 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.4337, allocations: 113.7 kB / 0.5844 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.4341, allocations: 145.7 kB / 0.5845 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/0.4399, allocations: 3.414 MB / 0.5878 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.4399, allocations: 1.625 kB / 0.5878 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.4401, allocations: 69.44 kB / 0.5879 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/0.4405, allocations: 207.5 kB / 0.5881 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.4456, allocations: 3.12 MB / 0.5911 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/0.4629, allocations: 13.58 MB / 0.6044 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.4652, allocations: 1.716 MB / 0.6061 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.797e-05/0.4653, allocations: 10.97 kB / 0.6061 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4654, allocations: 50.89 kB / 0.6061 GB, free: 19.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.4654, allocations: 0 / 0.6061 GB, free: 19.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1289/0.5943, allocations: 35.95 MB / 0.6413 GB, free: 6.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.5944, allocations: 73.41 kB / 0.6413 GB, free: 6.141 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.5958, allocations: 1.042 MB / 0.6423 GB, free: 5.074 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/0.5962, allocations: 57.7 kB / 0.6424 GB, free: 5.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.5967, allocations: 0.7844 MB / 0.6432 GB, free: 4.219 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/0.5973, allocations: 0.6267 MB / 0.6438 GB, free: 3.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.5975, allocations: 36 kB / 0.6438 GB, free: 3.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5976, allocations: 385.9 kB / 0.6442 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/0.6001, allocations: 1.928 MB / 0.6461 GB, free: 1.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.6029, allocations: 2.279 MB / 0.6483 GB, free: 14.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.6056, allocations: 2.209 MB / 0.6504 GB, free: 12.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6057, allocations: 4 kB / 0.6504 GB, free: 12.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01932/0.625, allocations: 9 MB / 0.6592 GB, free: 3.609 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.6251, allocations: 14.03 kB / 0.6592 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.6251, allocations: 8 kB / 0.6593 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/0.6412, allocations: 4.974 MB / 0.6641 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/0.6422, allocations: 199.7 kB / 0.6643 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05085/0.6931, allocations: 36.83 MB / 0.7003 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.6952, allocations: 99.89 kB / 0.7004 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002543/0.6954, allocations: 71.98 kB / 0.7004 GB, free: 8.879 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.6968, allocations: 0.8132 MB / 0.7012 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.6971, allocations: 138.3 kB / 0.7014 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/0.7154, allocations: 8.875 MB / 0.71 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.7154, allocations: 16 kB / 0.71 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-05/0.7155, allocations: 31.98 kB / 0.7101 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.7155, allocations: 11.91 kB / 0.7101 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/0.7408, allocations: 13.15 MB / 0.7229 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.7409, allocations: 4 kB / 0.7229 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.7414, allocations: 119.8 kB / 0.723 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01616/0.7576, allocations: 4.736 MB / 0.7277 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003672/0.758, allocations: 35.95 kB / 0.7277 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05019/0.8082, allocations: 33.01 MB / 0.7599 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8082, allocations: 4 kB / 0.7599 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/0.8266, allocations: 8.557 MB / 0.7683 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/0.8284, allocations: 0.6163 MB / 0.7689 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/0.8287, allocations: 32 kB / 0.7689 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.83, allocations: 91.88 kB / 0.769 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007085/0.8307, allocations: 171.6 kB / 0.7692 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.8309, allocations: 44 kB / 0.7692 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009407/0.8318, allocations: 0.7304 MB / 0.7699 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8318, allocations: 0 / 0.7699 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002979/0.8348, allocations: 1.004 MB / 0.7709 GB, free: 15.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/0.8535, allocations: 10.18 MB / 0.7808 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00965/0.8631, allocations: 5.831 MB / 0.7865 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.8632, allocations: 0 / 0.7865 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006999/0.8702, allocations: 3.781 MB / 0.7902 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8712, allocations: 204.3 kB / 0.7904 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/0.9114, allocations: 26.67 MB / 0.8165 GB, free: 396 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2484/1.16, allocations: 1.9 MB / 0.8183 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000926/1.161, allocations: 350.5 kB / 0.8187 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007432/1.162, allocations: 0.6043 MB / 0.8193 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/1.162, allocations: 0.8125 kB / 0.8193 GB, free: 204.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.114/7.276, allocations: 69.72 MB / 0.8873 GB, free: 161.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/7.276, allocations: 238 kB / 0.8876 GB, free: 161.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/10.3, allocations: 0 / 0.8876 GB, free: 161.4 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: