Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_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.00104/0.00104, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001288/0.001288, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 19 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2507, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009692/0.2605, allocations: 9.074 MB / 0.7963 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005805/0.2663, allocations: 3.063 MB / 0.7993 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009245/0.2673, allocations: 31.81 kB / 0.7993 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.2678, allocations: 178.7 kB / 0.7995 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.2692, allocations: 0.63 MB / 0.8001 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.2706, allocations: 0.5214 MB / 0.8006 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.2743, allocations: 3.514 MB / 0.804 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.2785, allocations: 2.7 MB / 0.8067 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.2804, allocations: 0.9692 MB / 0.8076 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.2825, allocations: 1.43 MB / 0.809 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.2827, allocations: 116 kB / 0.8091 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.2835, allocations: 255.8 kB / 0.8094 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/0.2844, allocations: 0.9237 MB / 0.8103 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.2848, allocations: 392.6 kB / 0.8106 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.2875, allocations: 2.996 MB / 0.8136 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2875, allocations: 8 kB / 0.8136 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2875, allocations: 0 / 0.8136 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.641e-05/0.2875, allocations: 0 / 0.8136 GB, free: 0.957 MB / 0.6231 GB 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.003391/0.2909, allocations: 1.783 MB / 0.8153 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.291, allocations: 8.031 kB / 0.8153 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003458/0.2914, allocations: 261 kB / 0.8156 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/0.299, allocations: 1.32 MB / 0.8169 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.3012, allocations: 1.227 MB / 0.8181 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.626e-05/0.3014, allocations: 111 kB / 0.8182 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.3017, allocations: 148 kB / 0.8183 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005301/0.307, allocations: 3.429 MB / 0.8216 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.307, allocations: 7.906 kB / 0.8217 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.3073, allocations: 63.97 kB / 0.8217 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.3075, allocations: 211 kB / 0.8219 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004946/0.3125, allocations: 3.116 MB / 0.825 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3295, allocations: 13.59 MB / 0.8382 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.3319, allocations: 1.717 MB / 0.8399 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.3339, allocations: 1.429 MB / 0.8413 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-05/0.334, allocations: 13 kB / 0.8413 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3341, allocations: 47.5 kB / 0.8414 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 4.719e-06/0.3341, allocations: 0 / 0.8414 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=183): time 0.1225/0.4566, allocations: 35.93 MB / 0.8764 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.4567, allocations: 69.41 kB / 0.8765 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.4581, allocations: 1.057 MB / 0.8775 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.4584, allocations: 53.7 kB / 0.8776 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.4589, allocations: 0.7874 MB / 0.8784 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.4594, allocations: 0.6238 MB / 0.879 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4596, allocations: 40 kB / 0.879 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4598, allocations: 381.9 kB / 0.8794 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.4624, allocations: 1.924 MB / 0.8813 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.4653, allocations: 2.277 MB / 0.8835 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.4682, allocations: 2.211 MB / 0.8856 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4682, allocations: 7.938 kB / 0.8856 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01763/0.4859, allocations: 8.993 MB / 0.8944 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4859, allocations: 8 kB / 0.8944 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4859, allocations: 8 kB / 0.8944 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01509/0.501, allocations: 4.974 MB / 0.8993 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/0.502, allocations: 203.5 kB / 0.8995 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5236/1.026, allocations: 35.05 MB / 0.9337 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.028, allocations: 99.92 kB / 0.9338 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/1.028, allocations: 68.44 kB / 0.9339 GB, free: 121 MB / 0.7325 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.001446/1.029, allocations: 0.8082 MB / 0.9347 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/1.03, allocations: 141.8 kB / 0.9348 GB, free: 120.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.049, allocations: 8.87 MB / 0.9435 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.484e-05/1.049, allocations: 17.69 kB / 0.9435 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001257/1.049, allocations: 29.53 kB / 0.9435 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.049, allocations: 8.266 kB / 0.9435 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02336/1.072, allocations: 13.24 MB / 0.9565 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.072, allocations: 4.125 kB / 0.9565 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/1.073, allocations: 117.1 kB / 0.9566 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/1.087, allocations: 4.766 MB / 0.9612 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/1.087, allocations: 35.81 kB / 0.9613 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04008/1.127, allocations: 31.4 MB / 0.9919 GB, free: 85.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.127, allocations: 4 kB / 0.9919 GB, free: 85.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.143, allocations: 8.377 MB / 1 GB, free: 77.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.144, allocations: 0.6195 MB / 1.001 GB, free: 76.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/1.145, allocations: 38.12 kB / 1.001 GB, free: 76.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.146, allocations: 95.88 kB / 1.001 GB, free: 76.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/1.146, allocations: 158.5 kB / 1.001 GB, free: 76.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/1.147, allocations: 48 kB / 1.001 GB, free: 76.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008352/1.147, allocations: 0.7304 MB / 1.002 GB, free: 75.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.147, allocations: 0 / 1.002 GB, free: 75.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002905/1.15, allocations: 1.004 MB / 1.003 GB, free: 74.43 MB / 0.7325 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,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01492/1.165, allocations: 8.968 MB / 1.011 GB, free: 65.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008417/1.174, allocations: 5.812 MB / 1.017 GB, free: 59.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.174, allocations: 0 / 1.017 GB, free: 59.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006353/1.18, allocations: 3.806 MB / 1.021 GB, free: 55.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/1.182, allocations: 232.8 kB / 1.021 GB, free: 55.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/1.212, allocations: 20.64 MB / 1.041 GB, free: 34.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.213, allocations: 1.855 MB / 1.043 GB, free: 32.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008399/1.214, allocations: 353.9 kB / 1.043 GB, free: 32.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/1.215, allocations: 0.6047 MB / 1.044 GB, free: 31.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.283e-06/1.215, allocations: 0 / 1.044 GB, free: 31.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.317, allocations: 69.73 MB / 1.112 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/1.317, allocations: 242.2 kB / 1.112 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/4.263, allocations: 0 / 1.112 GB, free: 9.906 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) Environment - environmentSimulation: