Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 100.7 kB / 16.4 MB, free: 6.461 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.001549/0.001549, allocations: 196 kB / 17.34 MB, free: 5.715 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8128/0.8128, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 61.98 kB / 0.5684 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1828, allocations: 77.93 MB / 0.6446 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004836/0.1877, allocations: 3.544 MB / 0.648 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1906, allocations: 1.898 MB / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1907, allocations: 4 kB / 0.6499 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.1915, allocations: 234.9 kB / 0.6501 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.1921, allocations: 215 kB / 0.6503 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.1927, allocations: 259.3 kB / 0.6505 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.1933, allocations: 386.8 kB / 0.6509 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.1938, allocations: 217.8 kB / 0.6511 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.194, allocations: 155.4 kB / 0.6513 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.1943, allocations: 179.4 kB / 0.6514 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.1944, allocations: 24 kB / 0.6515 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.1948, allocations: 295.4 kB / 0.6517 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.195, allocations: 99.7 kB / 0.6518 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1951, allocations: 143.3 kB / 0.652 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.1957, allocations: 498.2 kB / 0.6525 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1957, allocations: 0 / 0.6525 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1957, allocations: 4 kB / 0.6525 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1958, allocations: 0 / 0.6525 GB, free: 0.8828 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001187/0.197, allocations: 0.6481 MB / 0.6531 GB, free: 184 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.197, allocations: 8.031 kB / 0.6531 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009587/0.198, allocations: 124.6 kB / 0.6532 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.1985, allocations: 295.7 kB / 0.6535 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.1985, allocations: 12.81 kB / 0.6535 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.1986, allocations: 20.36 kB / 0.6535 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.1994, allocations: 430.8 kB / 0.6539 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1995, allocations: 0 / 0.6539 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.1995, allocations: 11.98 kB / 0.654 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/0.1996, allocations: 24.36 kB / 0.654 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/0.2005, allocations: 408.5 kB / 0.6544 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2026, allocations: 1.623 MB / 0.656 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.2039, allocations: 480.9 kB / 0.6564 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.2044, allocations: 197.5 kB / 0.6566 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.2045, allocations: 89.09 kB / 0.6567 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.2051, allocations: 271.9 kB / 0.6569 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.2051, allocations: 0 / 0.6569 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002096/0.2072, allocations: 0.7754 MB / 0.6577 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2073, allocations: 81.11 kB / 0.6578 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.2075, allocations: 221 kB / 0.658 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.2076, allocations: 33.7 kB / 0.658 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2077, allocations: 164.6 kB / 0.6582 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.2078, allocations: 99.17 kB / 0.6583 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2079, allocations: 73.39 kB / 0.6583 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2081, allocations: 334.8 kB / 0.6587 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.2085, allocations: 185 kB / 0.6588 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.209, allocations: 257.2 kB / 0.6591 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.2099, allocations: 458.4 kB / 0.6595 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2099, allocations: 0 / 0.6595 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001212/0.2111, allocations: 0.5515 MB / 0.6601 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2112, allocations: 33.7 kB / 0.6601 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2112, allocations: 4 kB / 0.6601 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.2115, allocations: 44.81 kB / 0.6601 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.2119, allocations: 84.02 kB / 0.6602 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.2133, allocations: 1.615 MB / 0.6618 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.2136, allocations: 55.72 kB / 0.6618 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.2137, allocations: 16 kB / 0.6619 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004943/0.2142, allocations: 284.3 kB / 0.6621 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004387/0.2146, allocations: 238 kB / 0.6624 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008337/0.2155, allocations: 439.5 kB / 0.6628 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.2155, allocations: 0 / 0.6628 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001152/0.2167, allocations: 0.5368 MB / 0.6633 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.2167, allocations: 35.11 kB / 0.6633 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2167, allocations: 4 kB / 0.6633 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.2168, allocations: 40.83 kB / 0.6634 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.2172, allocations: 83.86 kB / 0.6635 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2185, allocations: 1.619 MB / 0.665 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.2189, allocations: 51.86 kB / 0.6651 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.2189, allocations: 8.078 kB / 0.6651 GB, free: 3.059 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.2191, allocations: 200.2 kB / 0.6653 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.2191, allocations: 23.86 kB / 0.6653 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2202, allocations: 481.9 kB / 0.6658 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2202, allocations: 4 kB / 0.6658 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2202, allocations: 8 kB / 0.6658 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2202, allocations: 3.984 kB / 0.6658 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006665/0.2209, allocations: 0.5584 MB / 0.6663 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2209, allocations: 4 kB / 0.6663 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.2213, allocations: 79.84 kB / 0.6664 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/0.2214, allocations: 36.92 kB / 0.6664 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.2214, allocations: 8 kB / 0.6665 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.2226, allocations: 1.531 MB / 0.668 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2226, allocations: 0 / 0.668 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.2236, allocations: 0.5461 MB / 0.6685 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.2237, allocations: 128.9 kB / 0.6686 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.2238, allocations: 11.98 kB / 0.6686 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.2241, allocations: 35.95 kB / 0.6687 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.2242, allocations: 31.95 kB / 0.6687 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.2243, allocations: 12 kB / 0.6687 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002088/0.2245, allocations: 184.4 kB / 0.6689 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2245, allocations: 0 / 0.6689 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005574/0.2251, allocations: 132 kB / 0.669 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.2252, allocations: 109.1 kB / 0.6691 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.2272, allocations: 0.9885 MB / 0.6701 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2272, allocations: 0 / 0.6701 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.2278, allocations: 322.9 kB / 0.6704 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.2283, allocations: 58.41 kB / 0.6704 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2294, allocations: 0.6284 MB / 0.671 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2298, allocations: 0.7839 MB / 0.6718 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.2301, allocations: 98.23 kB / 0.6719 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2302, allocations: 27.44 kB / 0.6719 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2302, allocations: 0 / 0.6719 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.008881/0.2391, allocations: 4.835 MB / 0.6767 GB, free: 6.855 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)