Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001264/0.001264, allocations: 105.3 kB / 16.41 MB, free: 6.48 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.001239/0.001239, allocations: 197.2 kB / 17.34 MB, free: 5.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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7243/0.7243, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 65.55 kB / 0.5572 GB, free: 32.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 76.19 MB / 0.6316 GB, free: 5.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007233/0.1945, allocations: 4.263 MB / 0.6358 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004459/0.199, allocations: 2.373 MB / 0.6381 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.1995, allocations: 15.88 kB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.201, allocations: 374.2 kB / 0.6384 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.2021, allocations: 378.1 kB / 0.6388 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2032, allocations: 317.7 kB / 0.6391 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.2043, allocations: 0.6827 MB / 0.6398 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.2049, allocations: 260.8 kB / 0.64 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.2055, allocations: 259 kB / 0.6403 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.2061, allocations: 274.8 kB / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2062, allocations: 28 kB / 0.6406 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.2072, allocations: 427 kB / 0.641 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.2075, allocations: 147.5 kB / 0.6411 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.2078, allocations: 234.7 kB / 0.6413 GB, free: 11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2091, allocations: 0.7367 MB / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2091, allocations: 0 / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2092, allocations: 0 / 0.642 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.2092, allocations: 4 kB / 0.6421 GB, free: 10.26 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001717/0.2109, allocations: 0.7793 MB / 0.6428 GB, free: 9.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.211, allocations: 12.03 kB / 0.6428 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.2111, allocations: 82.69 kB / 0.6429 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2126, allocations: 188 kB / 0.6431 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.2135, allocations: 440.5 kB / 0.6435 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.2135, allocations: 25.36 kB / 0.6435 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.2136, allocations: 32.38 kB / 0.6436 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2146, allocations: 0.6547 MB / 0.6442 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.2147, allocations: 7.938 kB / 0.6442 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.2147, allocations: 15.98 kB / 0.6442 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.435e-05/0.2148, allocations: 63.89 kB / 0.6443 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.2157, allocations: 498.8 kB / 0.6448 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.2195, allocations: 3.775 MB / 0.6484 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2212, allocations: 0.6328 MB / 0.6491 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.2215, allocations: 186.3 kB / 0.6492 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2215, allocations: 4 kB / 0.6492 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2216, allocations: 38.56 kB / 0.6493 GB, free: 2.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.415e-06/0.2216, allocations: 0 / 0.6493 GB, free: 2.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002388/0.224, allocations: 1.276 MB / 0.6505 GB, free: 1.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.2241, allocations: 114.8 kB / 0.6506 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2245, allocations: 403.4 kB / 0.651 GB, free: 476 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2245, allocations: 29.7 kB / 0.651 GB, free: 440 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.2247, allocations: 279.5 kB / 0.6513 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.2248, allocations: 122.3 kB / 0.6514 GB, free: 32 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.225, allocations: 102.1 kB / 0.6515 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2251, allocations: 346.8 kB / 0.6519 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.2254, allocations: 177 kB / 0.652 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.2258, allocations: 387.1 kB / 0.6524 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.2265, allocations: 0.5831 MB / 0.653 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.2265, allocations: 4 kB / 0.653 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001101/0.2276, allocations: 0.6708 MB / 0.6536 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2277, allocations: 11.94 kB / 0.6536 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2277, allocations: 8 kB / 0.6536 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003666/0.2281, allocations: 107.1 kB / 0.6537 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.2285, allocations: 111.8 kB / 0.6539 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.2322, allocations: 4.344 MB / 0.6581 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2326, allocations: 27.97 kB / 0.6581 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.2326, allocations: 24 kB / 0.6581 GB, free: 8.512 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.2329, allocations: 209.6 kB / 0.6583 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.233, allocations: 47.44 kB / 0.6584 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009511/0.234, allocations: 0.5108 MB / 0.6589 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.234, allocations: 4 kB / 0.6589 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.234, allocations: 0 / 0.6589 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.234, allocations: 7.922 kB / 0.6589 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2359, allocations: 1.287 MB / 0.6602 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.2359, allocations: 4 kB / 0.6602 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.2362, allocations: 59.89 kB / 0.6602 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.2365, allocations: 90.45 kB / 0.6603 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2365, allocations: 11.98 kB / 0.6603 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/0.2397, allocations: 4.337 MB / 0.6646 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.2397, allocations: 7.938 kB / 0.6646 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/0.2406, allocations: 0.7698 MB / 0.6653 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.2408, allocations: 152.5 kB / 0.6655 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.2409, allocations: 12 kB / 0.6655 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.2412, allocations: 23.97 kB / 0.6655 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2413, allocations: 31.84 kB / 0.6655 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2413, allocations: 16.28 kB / 0.6655 GB, free: 324 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000285/0.2416, allocations: 275.1 kB / 0.6658 GB, free: 48 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2416, allocations: 0 / 0.6658 GB, free: 48 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000699/0.2423, allocations: 132 kB / 0.6659 GB, free: 15.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.2435, allocations: 1.33 MB / 0.6672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.2448, allocations: 0.8101 MB / 0.668 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2448, allocations: 0 / 0.668 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.2455, allocations: 0.5397 MB / 0.6685 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.2464, allocations: 140.8 kB / 0.6687 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.2522, allocations: 4.552 MB / 0.6731 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.2528, allocations: 0.8586 MB / 0.674 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.2531, allocations: 104.5 kB / 0.6741 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.2534, allocations: 155.4 kB / 0.6742 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.2534, allocations: 0 / 0.6742 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.3021, allocations: 10.19 MB / 0.6842 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.71, allocations: 22.78 kB / 0.6842 GB, free: 12.91 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)