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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.0008287/0.0008287, allocations: 95.33 kB / 15.68 MB, free: 488 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.0008854/0.0008856, allocations: 175.8 kB / 16.57 MB, free: 6.852 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.298/1.298, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6476/0.6476, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003849/0.1799, allocations: 3.017 MB / 0.5597 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1825, allocations: 1.59 MB / 0.5612 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1827, allocations: 7.938 kB / 0.5612 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.1829, allocations: 27.78 kB / 0.5613 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1834, allocations: 131.6 kB / 0.5614 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.1841, allocations: 195.5 kB / 0.5616 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1845, allocations: 223.5 kB / 0.5618 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007501/0.1853, allocations: 370.6 kB / 0.5621 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.1855, allocations: 131.5 kB / 0.5623 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.1858, allocations: 127.5 kB / 0.5624 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.1859, allocations: 12 kB / 0.5624 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.1862, allocations: 135.8 kB / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.1863, allocations: 75.78 kB / 0.5626 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.1864, allocations: 73.58 kB / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1868, allocations: 339.3 kB / 0.563 GB, free: 5.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1869, allocations: 4 kB / 0.563 GB, free: 5.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1869, allocations: 0 / 0.563 GB, free: 5.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1869, allocations: 3.938 kB / 0.563 GB, free: 5.23 MB / 430.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.001176/0.1881, allocations: 0.6019 MB / 0.5636 GB, free: 4.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1881, allocations: 12.03 kB / 0.5636 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.1882, allocations: 54.55 kB / 0.5636 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.189, allocations: 107.5 kB / 0.5638 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1894, allocations: 266.6 kB / 0.564 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1894, allocations: 20.44 kB / 0.564 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.1895, allocations: 23.89 kB / 0.564 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.1902, allocations: 422.5 kB / 0.5644 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.1903, allocations: 7.984 kB / 0.5645 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.1903, allocations: 15.98 kB / 0.5645 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.1904, allocations: 28.3 kB / 0.5645 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.1913, allocations: 408.8 kB / 0.5649 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.1931, allocations: 1.607 MB / 0.5665 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1942, allocations: 498.1 kB / 0.5669 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.1943, allocations: 85.11 kB / 0.567 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005485/0.1949, allocations: 283.9 kB / 0.5673 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.1949, allocations: 0 / 0.5673 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.00178/0.1967, allocations: 0.7864 MB / 0.5681 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1968, allocations: 81.11 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.197, allocations: 225 kB / 0.5683 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.197, allocations: 29.7 kB / 0.5684 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1971, allocations: 168.3 kB / 0.5685 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/0.1972, allocations: 90.66 kB / 0.5686 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.1972, allocations: 8 kB / 0.5686 GB, free: 15.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1973, allocations: 330.8 kB / 0.5689 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.1977, allocations: 188.2 kB / 0.5691 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.1982, allocations: 254 kB / 0.5694 GB, free: 14.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.1986, allocations: 233.8 kB / 0.5696 GB, free: 14.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1986, allocations: 3.938 kB / 0.5696 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001085/0.1997, allocations: 0.5565 MB / 0.5701 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003521/0.2001, allocations: 0.9096 MB / 0.571 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2001, allocations: 4 kB / 0.571 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.2003, allocations: 44.8 kB / 0.5711 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.2007, allocations: 91.81 kB / 0.5712 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.202, allocations: 1.501 MB / 0.5726 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.2023, allocations: 55.89 kB / 0.5727 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.2024, allocations: 16 kB / 0.5727 GB, free: 10.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.2024, allocations: 4 kB / 0.5727 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009981/0.2034, allocations: 0.4998 MB / 0.5732 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2034, allocations: 4 kB / 0.5732 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.2035, allocations: 44.81 kB / 0.5732 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.2039, allocations: 79.88 kB / 0.5733 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.205, allocations: 1.504 MB / 0.5748 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2053, allocations: 47.94 kB / 0.5748 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.2053, allocations: 19.92 kB / 0.5748 GB, free: 8.301 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.2055, allocations: 237 kB / 0.5751 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.2056, allocations: 23.72 kB / 0.5751 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.2066, allocations: 493.5 kB / 0.5756 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.2066, allocations: 3.938 kB / 0.5756 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2066, allocations: 4 kB / 0.5756 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2066, allocations: 7.922 kB / 0.5756 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.2072, allocations: 0.57 MB / 0.5761 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2073, allocations: 4 kB / 0.5761 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.2076, allocations: 75.86 kB / 0.5762 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.2077, allocations: 41.11 kB / 0.5762 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.2078, allocations: 12.08 kB / 0.5763 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000989/0.2088, allocations: 1.424 MB / 0.5777 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2088, allocations: 3.984 kB / 0.5777 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.2097, allocations: 0.5985 MB / 0.5782 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.2099, allocations: 140.6 kB / 0.5784 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.2099, allocations: 11.95 kB / 0.5784 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.2102, allocations: 39.95 kB / 0.5784 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.2103, allocations: 31.95 kB / 0.5785 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2104, allocations: 15.98 kB / 0.5785 GB, free: 4.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.2105, allocations: 168.5 kB / 0.5786 GB, free: 4.129 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2105, allocations: 0 / 0.5786 GB, free: 4.129 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000565/0.2111, allocations: 131.9 kB / 0.5788 GB, free: 4 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.2124, allocations: 1.357 MB / 0.5801 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.2141, allocations: 1.004 MB / 0.5811 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2142, allocations: 0 / 0.5811 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.2147, allocations: 342.7 kB / 0.5814 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2151, allocations: 42.25 kB / 0.5814 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2149/0.4299, allocations: 3.324 MB / 0.5847 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4302, allocations: 0.7914 MB / 0.5854 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.4306, allocations: 95.97 kB / 0.5855 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4307, allocations: 86.03 kB / 0.5856 GB, free: 30.28 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4307, allocations: 0 / 0.5856 GB, free: 30.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9702/1.401, allocations: 6.553 MB / 0.592 GB, free: 30.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.401, allocations: 235.3 kB / 0.5922 GB, free: 29.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/3.146, allocations: 2.031 kB / 0.5922 GB, free: 29.78 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: