Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",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.001023/0.001023, allocations: 96.27 kB / 15.69 MB, free: 480 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.001873/0.001873, allocations: 177.7 kB / 16.57 MB, free: 6.859 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.363/1.363, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8.781 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002587/0.1827, allocations: 1.91 MB / 0.5586 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1838, allocations: 0.733 MB / 0.5593 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.1839, allocations: 4 kB / 0.5593 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.184, allocations: 15.92 kB / 0.5593 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1842, allocations: 39.86 kB / 0.5593 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.1844, allocations: 39.89 kB / 0.5594 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1845, allocations: 87.81 kB / 0.5595 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1848, allocations: 198 kB / 0.5597 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1849, allocations: 51.83 kB / 0.5597 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1851, allocations: 43.78 kB / 0.5598 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1851, allocations: 8 kB / 0.5598 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1852, allocations: 27.92 kB / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.1852, allocations: 31.89 kB / 0.5598 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.1853, allocations: 45.64 kB / 0.5599 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1855, allocations: 123.6 kB / 0.56 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1855, allocations: 0 / 0.56 GB, free: 8.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1855, allocations: 4 kB / 0.56 GB, free: 8.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1855, allocations: 0 / 0.56 GB, free: 8.277 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007319/0.1863, allocations: 470.4 kB / 0.5604 GB, free: 7.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1863, allocations: 8.031 kB / 0.5604 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.62e-05/0.1864, allocations: 42.56 kB / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.1866, allocations: 31.8 kB / 0.5605 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1869, allocations: 214.8 kB / 0.5607 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.187, allocations: 41.83 kB / 0.5608 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.187, allocations: 16 kB / 0.5608 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1873, allocations: 144.9 kB / 0.5609 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1874, allocations: 0 / 0.5609 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.1874, allocations: 8 kB / 0.5609 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1874, allocations: 4.188 kB / 0.5609 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.1876, allocations: 96.44 kB / 0.561 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.1885, allocations: 0.645 MB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1888, allocations: 62.5 kB / 0.5617 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.1888, allocations: 0 / 0.5617 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.189, allocations: 142.9 kB / 0.5618 GB, free: 6.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.189, allocations: 4 kB / 0.5618 GB, free: 6.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004137/0.1895, allocations: 240.4 kB / 0.5621 GB, free: 5.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.1895, allocations: 144.4 kB / 0.5622 GB, free: 5.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.1898, allocations: 178.3 kB / 0.5624 GB, free: 5.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1898, allocations: 37.69 kB / 0.5624 GB, free: 5.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.1899, allocations: 131.8 kB / 0.5625 GB, free: 5.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1899, allocations: 31.69 kB / 0.5626 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.19, allocations: 4 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1901, allocations: 322.8 kB / 0.5629 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.1902, allocations: 35.98 kB / 0.5629 GB, free: 4.953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1903, allocations: 115.3 kB / 0.563 GB, free: 4.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1905, allocations: 115.3 kB / 0.5631 GB, free: 4.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1905, allocations: 0 / 0.5631 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000339/0.1908, allocations: 236.7 kB / 0.5634 GB, free: 4.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.1909, allocations: 69.28 kB / 0.5634 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1909, allocations: 4 kB / 0.5634 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1909, allocations: 4 kB / 0.5634 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.191, allocations: 31.92 kB / 0.5635 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1911, allocations: 7.984 kB / 0.5635 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1912, allocations: 23.84 kB / 0.5635 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1912, allocations: 8 kB / 0.5635 GB, free: 4.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.1914, allocations: 175.4 kB / 0.5637 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.1914, allocations: 11.81 kB / 0.5637 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.1915, allocations: 17.39 kB / 0.5637 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1915, allocations: 3.938 kB / 0.5637 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1915, allocations: 4 kB / 0.5637 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1915, allocations: 0 / 0.5637 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1917, allocations: 217.6 kB / 0.5639 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1917, allocations: 3.984 kB / 0.5639 GB, free: 3.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.1918, allocations: 8 kB / 0.5639 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1918, allocations: 4 kB / 0.5639 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1919, allocations: 7.984 kB / 0.5639 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1919, allocations: 0 / 0.5639 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1919, allocations: 3.938 kB / 0.5639 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1923, allocations: 218.6 kB / 0.5641 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.1923, allocations: 93.06 kB / 0.5642 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1924, allocations: 0 / 0.5642 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.1925, allocations: 23.92 kB / 0.5643 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.1926, allocations: 11.97 kB / 0.5643 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1926, allocations: 4 kB / 0.5643 GB, free: 3.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1927, allocations: 132.3 kB / 0.5644 GB, free: 3.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1927, allocations: 0 / 0.5644 GB, free: 3.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.193, allocations: 35.91 kB / 0.5644 GB, free: 3.211 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007106/0.1937, allocations: 0.7514 MB / 0.5652 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.1941, allocations: 226.8 kB / 0.5654 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1942, allocations: 0 / 0.5654 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.1943, allocations: 111.3 kB / 0.5655 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1945, allocations: 15.5 kB / 0.5655 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.1971, allocations: 2.431 MB / 0.5679 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.1976, allocations: 0.716 MB / 0.5686 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1977, allocations: 20.64 kB / 0.5686 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.1978, allocations: 35.42 kB / 0.5686 GB, free: 14.72 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1978, allocations: 0 / 0.5686 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.2162, allocations: 2.702 MB / 0.5713 GB, free: 12.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.2165, allocations: 183 kB / 0.5714 GB, free: 11.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.89, allocations: 0 / 0.5714 GB, free: 11.94 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: