Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001192/0.001193, allocations: 100.1 kB / 15.88 MB, free: 12 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.001129/0.001129, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.203/1.203, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6382/0.6382, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 65.31 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 76.17 MB / 0.5559 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006826/0.1249, allocations: 6.148 MB / 0.5619 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.1291, allocations: 3.18 MB / 0.565 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.1293, allocations: 31.75 kB / 0.565 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1311, allocations: 0.879 MB / 0.5659 GB, free: 468 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.1318, allocations: 438 kB / 0.5663 GB, free: 28 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.1325, allocations: 466.2 kB / 0.5667 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.1337, allocations: 1.471 MB / 0.5681 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007621/0.1345, allocations: 0.6172 MB / 0.5688 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.1349, allocations: 398.3 kB / 0.5691 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.1353, allocations: 482.1 kB / 0.5696 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.1354, allocations: 40 kB / 0.5696 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.1362, allocations: 0.5847 MB / 0.5702 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.1364, allocations: 279.2 kB / 0.5705 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.1367, allocations: 382 kB / 0.5708 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.1377, allocations: 1.187 MB / 0.572 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1377, allocations: 0 / 0.572 GB, free: 10.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1377, allocations: 0 / 0.572 GB, free: 10.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1377, allocations: 0 / 0.572 GB, free: 10.15 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001345/0.1391, allocations: 1.063 MB / 0.573 GB, free: 9.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1391, allocations: 8.031 kB / 0.573 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1392, allocations: 114.7 kB / 0.5731 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1406, allocations: 227.6 kB / 0.5734 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.1412, allocations: 0.5337 MB / 0.5739 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.1413, allocations: 45.69 kB / 0.5739 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.1414, allocations: 68.36 kB / 0.574 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1427, allocations: 1.03 MB / 0.575 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1427, allocations: 11.84 kB / 0.575 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.1428, allocations: 31.98 kB / 0.575 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.459e-05/0.1429, allocations: 65.27 kB / 0.5751 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/0.1438, allocations: 0.6957 MB / 0.5758 GB, free: 6.062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2073/0.3512, allocations: 5.747 MB / 0.5814 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.352, allocations: 0.5993 MB / 0.582 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.3527, allocations: 419 kB / 0.5824 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3527, allocations: 5.562 kB / 0.5824 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.3527, allocations: 38.94 kB / 0.5824 GB, free: 31.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.3528, allocations: 1.812 kB / 0.5824 GB, free: 31.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003913/0.3567, allocations: 2.063 MB / 0.5844 GB, free: 31.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.3567, allocations: 60.27 kB / 0.5845 GB, free: 31.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.3572, allocations: 463.7 kB / 0.5849 GB, free: 30.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3572, allocations: 32.08 kB / 0.585 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3574, allocations: 385.4 kB / 0.5853 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.3574, allocations: 151.9 kB / 0.5855 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3576, allocations: 111.8 kB / 0.5856 GB, free: 30.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.3577, allocations: 370.1 kB / 0.5859 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.358, allocations: 244.4 kB / 0.5862 GB, free: 29.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.3584, allocations: 458.4 kB / 0.5866 GB, free: 29.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.3592, allocations: 0.7511 MB / 0.5873 GB, free: 29.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3592, allocations: 3.562 kB / 0.5873 GB, free: 29.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001716/0.3609, allocations: 1.062 MB / 0.5884 GB, free: 28.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3609, allocations: 8.094 kB / 0.5884 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.361, allocations: 7.781 kB / 0.5884 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009913/0.3619, allocations: 338.1 kB / 0.5887 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3622, allocations: 97.97 kB / 0.5888 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/0.3673, allocations: 6.946 MB / 0.5956 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.3676, allocations: 33.12 kB / 0.5956 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3676, allocations: 32.77 kB / 0.5957 GB, free: 22.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.3679, allocations: 243.9 kB / 0.5959 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.368, allocations: 70.84 kB / 0.596 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.3695, allocations: 0.909 MB / 0.5968 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3695, allocations: 9.562 kB / 0.5969 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3695, allocations: 3.125 kB / 0.5969 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3696, allocations: 3.703 kB / 0.5969 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.3719, allocations: 1.708 MB / 0.5985 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.372, allocations: 2.797 kB / 0.5985 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3721, allocations: 41.27 kB / 0.5986 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.373, allocations: 323 kB / 0.5989 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.373, allocations: 7.312 kB / 0.5989 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.378, allocations: 6.948 MB / 0.6057 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.378, allocations: 2.875 kB / 0.6057 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.3795, allocations: 1.005 MB / 0.6067 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3797, allocations: 178.7 kB / 0.6068 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.3797, allocations: 12.27 kB / 0.6068 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.38, allocations: 24.09 kB / 0.6069 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.3801, allocations: 40.53 kB / 0.6069 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.3801, allocations: 13.34 kB / 0.6069 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.3804, allocations: 311.5 kB / 0.6072 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3804, allocations: 0 / 0.6072 GB, free: 14.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.3811, allocations: 194.6 kB / 0.6074 GB, free: 14.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.3826, allocations: 1.574 MB / 0.6089 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3841, allocations: 1.198 MB / 0.6101 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3841, allocations: 1.406 kB / 0.6101 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009896/0.3851, allocations: 0.8757 MB / 0.611 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008602/0.386, allocations: 190 kB / 0.6111 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.3926, allocations: 6.258 MB / 0.6173 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.393, allocations: 0.9918 MB / 0.6182 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.3933, allocations: 104.6 kB / 0.6183 GB, free: 7.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3935, allocations: 227.1 kB / 0.6185 GB, free: 7.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3935, allocations: 0 / 0.6185 GB, free: 7.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.4158, allocations: 14.8 MB / 0.633 GB, free: 12.97 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.416, allocations: 241.7 kB / 0.6332 GB, free: 12.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.198, allocations: 8.062 kB / 0.6332 GB, free: 12.7 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)