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.0007123/0.0007123, allocations: 92.08 kB / 15.7 MB, free: 472 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.0007756/0.0007757, allocations: 172.8 kB / 16.58 MB, free: 5.691 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.292/1.292, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6362/0.6362, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01022/0.1732, allocations: 9.045 MB / 0.5657 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.1785, allocations: 3.015 MB / 0.5687 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000748/0.1793, allocations: 31.81 kB / 0.5687 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1798, allocations: 178.7 kB / 0.5689 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.1811, allocations: 0.6222 MB / 0.5695 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1824, allocations: 0.5225 MB / 0.57 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003505/0.1859, allocations: 3.514 MB / 0.5734 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.1899, allocations: 2.711 MB / 0.5761 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.1917, allocations: 0.9575 MB / 0.577 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.1936, allocations: 1.437 MB / 0.5784 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.1938, allocations: 115.9 kB / 0.5785 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.1945, allocations: 259.8 kB / 0.5788 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008533/0.1954, allocations: 0.9315 MB / 0.5797 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.1957, allocations: 388.7 kB / 0.5801 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.1983, allocations: 2.996 MB / 0.583 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1983, allocations: 0 / 0.583 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1983, allocations: 3.938 kB / 0.583 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.445e-05/0.1984, allocations: 0 / 0.583 GB, free: 0.8125 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.2724/0.4708, allocations: 1.778 MB / 0.5847 GB, free: 32.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4709, allocations: 10.78 kB / 0.5847 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005822/0.4715, allocations: 264.5 kB / 0.585 GB, free: 31.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008048/0.4795, allocations: 1.312 MB / 0.5863 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.4823, allocations: 1.22 MB / 0.5875 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.4824, allocations: 113.6 kB / 0.5876 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/0.4828, allocations: 150.1 kB / 0.5877 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/0.4886, allocations: 3.43 MB / 0.5911 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.4887, allocations: 10.84 kB / 0.5911 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.4889, allocations: 65.62 kB / 0.5911 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002793/0.4892, allocations: 204.7 kB / 0.5913 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/0.4946, allocations: 3.114 MB / 0.5944 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.5113, allocations: 13.58 MB / 0.6076 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.5138, allocations: 1.715 MB / 0.6093 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.5157, allocations: 1.447 MB / 0.6107 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.5159, allocations: 10.5 kB / 0.6107 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5159, allocations: 44.38 kB / 0.6108 GB, free: 18.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 5.099e-06/0.5159, allocations: 0 / 0.6108 GB, free: 18.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.1137/0.6296, allocations: 35.93 MB / 0.6459 GB, free: 2.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.6297, allocations: 69.41 kB / 0.6459 GB, free: 2.078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.6312, allocations: 1.046 MB / 0.647 GB, free: 1.008 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.6316, allocations: 53.7 kB / 0.647 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.632, allocations: 0.7952 MB / 0.6478 GB, free: 148 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.6326, allocations: 0.6189 MB / 0.6484 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.6328, allocations: 40 kB / 0.6484 GB, free: 15.49 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.633, allocations: 385.9 kB / 0.6488 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002546/0.6355, allocations: 1.924 MB / 0.6507 GB, free: 13.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.6384, allocations: 2.281 MB / 0.6529 GB, free: 10.78 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.6413, allocations: 2.213 MB / 0.6551 GB, free: 8.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6413, allocations: 0 / 0.6551 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0176/0.6589, allocations: 8.99 MB / 0.6638 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.659, allocations: 12.66 kB / 0.6638 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.659, allocations: 15.98 kB / 0.6639 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/0.6735, allocations: 4.979 MB / 0.6687 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009183/0.6745, allocations: 191.6 kB / 0.6689 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04849/0.723, allocations: 35.07 MB / 0.7032 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.725, allocations: 103.9 kB / 0.7032 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.7252, allocations: 68 kB / 0.7033 GB, free: 6.59 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.00183/0.7271, allocations: 0.7985 MB / 0.7041 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.7274, allocations: 142.3 kB / 0.7042 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01804/0.7454, allocations: 8.876 MB / 0.7129 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.7455, allocations: 16 kB / 0.7129 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-05/0.7456, allocations: 36 kB / 0.7129 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/0.7456, allocations: 7.969 kB / 0.713 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/0.77, allocations: 13.24 MB / 0.7259 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/0.7701, allocations: 4 kB / 0.7259 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.7706, allocations: 119.8 kB / 0.726 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/0.7848, allocations: 4.756 MB / 0.7306 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.7851, allocations: 32 kB / 0.7307 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0452/0.8303, allocations: 31.41 MB / 0.7614 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8304, allocations: 4 kB / 0.7614 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.8474, allocations: 8.378 MB / 0.7695 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.8488, allocations: 0.6124 MB / 0.7701 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.8491, allocations: 36 kB / 0.7702 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.8502, allocations: 91.88 kB / 0.7703 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007126/0.8509, allocations: 173.4 kB / 0.7704 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.851, allocations: 44 kB / 0.7705 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009711/0.852, allocations: 0.7265 MB / 0.7712 GB, free: 264 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.852, allocations: 0 / 0.7712 GB, free: 264 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003075/0.8551, allocations: 1.008 MB / 0.7722 GB, free: 15.25 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,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01712/0.8722, allocations: 8.965 MB / 0.7809 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009639/0.8819, allocations: 5.822 MB / 0.7866 GB, free: 320 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.882, allocations: 4 kB / 0.7866 GB, free: 316 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007458/0.8894, allocations: 3.792 MB / 0.7903 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.8911, allocations: 238.1 kB / 0.7905 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/0.9275, allocations: 20.65 MB / 0.8107 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.9293, allocations: 1.859 MB / 0.8125 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008956/0.9302, allocations: 347.4 kB / 0.8128 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.9309, allocations: 0.608 MB / 0.8134 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of SimCode: time 7.41e-07/0.9309, allocations: 0 / 0.8134 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/1.326, allocations: 69.7 MB / 0.8815 GB, free: 166.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.326, allocations: 236.3 kB / 0.8817 GB, free: 166.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.885, allocations: 4.062 kB / 0.8817 GB, free: 166.2 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: