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.001133/0.001134, allocations: 98.03 kB / 16.02 MB, free: 80 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.001057/0.001057, allocations: 185.9 kB / 16.92 MB, free: 6.754 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 12 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 77.53 MB / 0.5601 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01029/0.1526, allocations: 9.569 MB / 0.5694 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005637/0.1583, allocations: 3.131 MB / 0.5725 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.1591, allocations: 35.75 kB / 0.5725 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.1598, allocations: 186.6 kB / 0.5727 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.1616, allocations: 0.6964 MB / 0.5734 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1632, allocations: 0.6541 MB / 0.574 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.1674, allocations: 4.482 MB / 0.5784 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/0.1716, allocations: 3.143 MB / 0.5814 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.1737, allocations: 0.9379 MB / 0.5824 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.1766, allocations: 1.453 MB / 0.5838 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005221/0.1772, allocations: 112 kB / 0.5839 GB, free: 424 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3095/0.4867, allocations: 463.4 kB / 0.5843 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.4885, allocations: 0.9233 MB / 0.5852 GB, free: 16.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.49, allocations: 0.9665 MB / 0.5862 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005418/0.4954, allocations: 3.526 MB / 0.5896 GB, free: 16.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4955, allocations: 1.438 kB / 0.5896 GB, free: 16.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4955, allocations: 0 / 0.5896 GB, free: 16.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.4956, allocations: 1.312 kB / 0.5896 GB, free: 16.22 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.005497/0.5011, allocations: 1.756 MB / 0.5913 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.5011, allocations: 10.73 kB / 0.5913 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/0.5018, allocations: 262.2 kB / 0.5916 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009568/0.5114, allocations: 1.322 MB / 0.5929 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/0.5149, allocations: 1.254 MB / 0.5941 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.515, allocations: 116.7 kB / 0.5942 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.5156, allocations: 145.7 kB / 0.5944 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.523, allocations: 3.439 MB / 0.5977 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/0.5231, allocations: 13.22 kB / 0.5977 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.5234, allocations: 65.64 kB / 0.5978 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000337/0.5237, allocations: 204.4 kB / 0.598 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.5293, allocations: 3.123 MB / 0.601 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.5457, allocations: 13.59 MB / 0.6143 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.5481, allocations: 1.727 MB / 0.616 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.5503, allocations: 1.435 MB / 0.6174 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/0.5504, allocations: 15.2 kB / 0.6174 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5504, allocations: 43.84 kB / 0.6174 GB, free: 3.652 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.5504, allocations: 0 / 0.6174 GB, free: 3.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1475/0.6979, allocations: 35.97 MB / 0.6526 GB, free: 5.391 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.698, allocations: 69.41 kB / 0.6526 GB, free: 5.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.6998, allocations: 1.054 MB / 0.6537 GB, free: 4.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.7001, allocations: 53.7 kB / 0.6537 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.7007, allocations: 0.7877 MB / 0.6545 GB, free: 3.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007127/0.7014, allocations: 0.6269 MB / 0.6551 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.7018, allocations: 153.6 kB / 0.6552 GB, free: 2.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7019, allocations: 301.1 kB / 0.6555 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.7048, allocations: 1.932 MB / 0.6574 GB, free: 376 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.708, allocations: 2.291 MB / 0.6597 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/0.7142, allocations: 4.388 MB / 0.6639 GB, free: 9.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7142, allocations: 4 kB / 0.664 GB, free: 9.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02099/0.7352, allocations: 9.019 MB / 0.6728 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.7353, allocations: 15.94 kB / 0.6728 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.7353, allocations: 11.98 kB / 0.6728 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01779/0.7531, allocations: 4.973 MB / 0.6776 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/0.7541, allocations: 190.4 kB / 0.6778 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05588/0.81, allocations: 35.15 MB / 0.7121 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.8125, allocations: 107.9 kB / 0.7122 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/0.813, allocations: 64 kB / 0.7123 GB, free: 7.633 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002307/0.8153, allocations: 0.8079 MB / 0.7131 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005201/0.8159, allocations: 142.3 kB / 0.7132 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02106/0.8369, allocations: 8.895 MB / 0.7219 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.837, allocations: 16 kB / 0.7219 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/0.8371, allocations: 32 kB / 0.722 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.8371, allocations: 11.95 kB / 0.722 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/0.8646, allocations: 13.27 MB / 0.7349 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.8647, allocations: 4 kB / 0.7349 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.8652, allocations: 115.9 kB / 0.735 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/0.882, allocations: 4.759 MB / 0.7397 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004083/0.8824, allocations: 36 kB / 0.7397 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05085/0.9333, allocations: 31.45 MB / 0.7704 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.9333, allocations: 11.92 kB / 0.7704 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/0.9541, allocations: 8.412 MB / 0.7787 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.9557, allocations: 0.6124 MB / 0.7793 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/0.9564, allocations: 36 kB / 0.7793 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.9583, allocations: 91.89 kB / 0.7794 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/0.9593, allocations: 169.4 kB / 0.7795 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/0.9596, allocations: 48 kB / 0.7796 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001353/0.9609, allocations: 0.7421 MB / 0.7803 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9609, allocations: 0 / 0.7803 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004614/0.9656, allocations: 1.008 MB / 0.7813 GB, free: 296 kB / 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02069/0.9863, allocations: 8.989 MB / 0.7901 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01116/0.9975, allocations: 5.83 MB / 0.7958 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9975, allocations: 3.938 kB / 0.7958 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008656/1.006, allocations: 3.799 MB / 0.7995 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.009, allocations: 231.2 kB / 0.7997 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3649/1.374, allocations: 32.47 MB / 0.8314 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.376, allocations: 1.861 MB / 0.8332 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001043/1.377, allocations: 349 kB / 0.8336 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/1.378, allocations: 0.6084 MB / 0.8342 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.378, allocations: 0 / 0.8342 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09743/1.475, allocations: 70.18 MB / 0.9027 GB, free: 172.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.476, allocations: 249.5 kB / 0.9029 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/4.083, allocations: 0 / 0.9029 GB, free: 171.8 MB / 0.6387 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/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)