Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.0008006/0.0008006, allocations: 97.52 kB / 15.69 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.0008975/0.0008975, allocations: 175.8 kB / 16.57 MB, free: 6.391 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.375/1.375, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6657/0.6657, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003066, allocations: 11.98 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 77.11 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003372/0.172, allocations: 2.541 MB / 0.5592 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1743, allocations: 1.575 MB / 0.5608 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1744, allocations: 7.938 kB / 0.5608 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.1746, allocations: 39.75 kB / 0.5608 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.1749, allocations: 131.6 kB / 0.5609 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.1754, allocations: 187.5 kB / 0.5611 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.1757, allocations: 219.6 kB / 0.5613 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.1764, allocations: 386.5 kB / 0.5617 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1766, allocations: 115.5 kB / 0.5618 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1769, allocations: 127.5 kB / 0.5619 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.1769, allocations: 12 kB / 0.5619 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1771, allocations: 147.8 kB / 0.5621 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.1772, allocations: 75.73 kB / 0.5621 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.1773, allocations: 69.58 kB / 0.5622 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1777, allocations: 339.4 kB / 0.5625 GB, free: 5.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1777, allocations: 4 kB / 0.5625 GB, free: 5.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1777, allocations: 0 / 0.5625 GB, free: 5.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1777, allocations: 0 / 0.5625 GB, free: 5.68 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.001042/0.1788, allocations: 0.6018 MB / 0.5631 GB, free: 5.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1788, allocations: 8.031 kB / 0.5631 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.1789, allocations: 58.53 kB / 0.5632 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006828/0.1796, allocations: 99.62 kB / 0.5633 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.18, allocations: 278.5 kB / 0.5635 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.18, allocations: 20.44 kB / 0.5636 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.1801, allocations: 23.97 kB / 0.5636 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.1809, allocations: 434.5 kB / 0.564 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1809, allocations: 0 / 0.564 GB, free: 4.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.181, allocations: 7.984 kB / 0.564 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.181, allocations: 28.36 kB / 0.564 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.1819, allocations: 420.7 kB / 0.5644 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1839, allocations: 1.611 MB / 0.566 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1851, allocations: 485.2 kB / 0.5665 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1853, allocations: 97.09 kB / 0.5666 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.1858, allocations: 271.9 kB / 0.5668 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/0.1858, allocations: 3.938 kB / 0.5668 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.001829/0.1877, allocations: 0.7826 MB / 0.5676 GB, free: 160 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.1877, allocations: 85.09 kB / 0.5677 GB, free: 56 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.188, allocations: 217 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.188, allocations: 33.7 kB / 0.5679 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1881, allocations: 168.2 kB / 0.5681 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.1882, allocations: 98.73 kB / 0.5682 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.1883, allocations: 4 kB / 0.5682 GB, free: 15.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1884, allocations: 334.8 kB / 0.5685 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.1888, allocations: 180.2 kB / 0.5687 GB, free: 15.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.1892, allocations: 257.9 kB / 0.5689 GB, free: 14.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.1896, allocations: 229.8 kB / 0.5691 GB, free: 14.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1896, allocations: 0 / 0.5691 GB, free: 14.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001058/0.1907, allocations: 0.5612 MB / 0.5697 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.191, allocations: 0.9038 MB / 0.5706 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.191, allocations: 4 kB / 0.5706 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.1913, allocations: 36.83 kB / 0.5706 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1917, allocations: 103.8 kB / 0.5707 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1931, allocations: 1.505 MB / 0.5722 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.1934, allocations: 59.78 kB / 0.5722 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1934, allocations: 8 kB / 0.5722 GB, free: 11.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.1934, allocations: 4 kB / 0.5722 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.1945, allocations: 0.499 MB / 0.5727 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.1945, allocations: 0 / 0.5727 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.1946, allocations: 40.83 kB / 0.5728 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.195, allocations: 96.02 kB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1962, allocations: 1.501 MB / 0.5743 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.1965, allocations: 51.89 kB / 0.5744 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1965, allocations: 11.94 kB / 0.5744 GB, free: 8.746 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.0002195/0.1967, allocations: 248.9 kB / 0.5746 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1968, allocations: 27.78 kB / 0.5746 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1978, allocations: 493.4 kB / 0.5751 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1978, allocations: 4 kB / 0.5751 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1978, allocations: 4 kB / 0.5751 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1978, allocations: 0 / 0.5751 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.1985, allocations: 0.5662 MB / 0.5757 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1985, allocations: 0 / 0.5757 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.1989, allocations: 87.95 kB / 0.5758 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.199, allocations: 32.83 kB / 0.5758 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1991, allocations: 8 kB / 0.5758 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2002, allocations: 1.428 MB / 0.5772 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2002, allocations: 4.031 kB / 0.5772 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2012, allocations: 0.5984 MB / 0.5778 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2014, allocations: 132.7 kB / 0.5779 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2014, allocations: 11.95 kB / 0.5779 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.2017, allocations: 43.95 kB / 0.578 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.2018, allocations: 31.89 kB / 0.578 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2019, allocations: 12 kB / 0.578 GB, free: 4.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.202, allocations: 172.5 kB / 0.5782 GB, free: 4.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.202, allocations: 0 / 0.5782 GB, free: 4.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.2026, allocations: 128 kB / 0.5783 GB, free: 4.449 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.001379/0.204, allocations: 1.357 MB / 0.5796 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.2058, allocations: 1.004 MB / 0.5806 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2058, allocations: 192 / 0.5806 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.2064, allocations: 338.4 kB / 0.5809 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2067, allocations: 44.55 kB / 0.581 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3464/0.5531, allocations: 3.331 MB / 0.5842 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5536, allocations: 0.7943 MB / 0.585 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003787/0.554, allocations: 90.78 kB / 0.5851 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.5541, allocations: 89 kB / 0.5852 GB, free: 30.34 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5541, allocations: 0 / 0.5852 GB, free: 30.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.5779, allocations: 6.538 MB / 0.5915 GB, free: 30.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.5781, allocations: 216.1 kB / 0.5918 GB, free: 29.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.376, allocations: 6.688 kB / 0.5918 GB, free: 29.82 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: