Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.001374/0.001374, allocations: 108.5 kB / 16.03 MB, free: 6.34 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.001567/0.001567, allocations: 190.9 kB / 16.95 MB, free: 6.168 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.275/1.275, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0422/0.0422, allocations: 8.099 MB / 298.9 MB, free: 6.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.91 kB / 361.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 51.51 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001805/0.1725, allocations: 1.123 MB / 414 MB, free: 24.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1735, allocations: 1.438 MB / 415.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1736, allocations: 0 / 415.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1738, allocations: 99.67 kB / 415.5 MB, free: 23.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.174, allocations: 71.66 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.175, allocations: 0.8132 MB / 416.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1752, allocations: 115.5 kB / 416.5 MB, free: 22.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.1753, allocations: 36.95 kB / 416.5 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.1753, allocations: 43.84 kB / 416.6 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.1754, allocations: 55.72 kB / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1754, allocations: 8 kB / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1756, allocations: 207.8 kB / 416.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1756, allocations: 23.92 kB / 416.9 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.1757, allocations: 63.67 kB / 416.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1759, allocations: 269.6 kB / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1759, allocations: 0 / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.176, allocations: 0 / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.176, allocations: 0 / 417.2 MB, free: 21.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001575/0.1775, allocations: 0.6473 MB / 417.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1776, allocations: 15.89 kB / 417.8 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.1776, allocations: 42.69 kB / 417.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1777, allocations: 16.73 kB / 417.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1778, allocations: 204.2 kB / 418.1 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.1778, allocations: 4.375 kB / 418.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1778, allocations: 12.38 kB / 418.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.178, allocations: 163.1 kB / 418.3 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.178, allocations: 11.88 kB / 418.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1781, allocations: 4 kB / 418.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1781, allocations: 4 kB / 418.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1782, allocations: 119.9 kB / 418.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.1788, allocations: 492.3 kB / 418.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.1794, allocations: 182.6 kB / 419.1 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.1794, allocations: 48.84 kB / 419.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.1797, allocations: 458.2 kB / 419.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.1798, allocations: 34.5 kB / 419.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1798, allocations: 0 / 419.6 MB, free: 18.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006489/0.1804, allocations: 295.4 kB / 419.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1805, allocations: 81.05 kB / 420 MB, free: 18.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.1806, allocations: 163.8 kB / 420.1 MB, free: 18.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1806, allocations: 29.7 kB / 420.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.1806, allocations: 111.8 kB / 420.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1806, allocations: 35.45 kB / 420.3 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1807, allocations: 45.7 kB / 420.3 MB, free: 17.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.726e-05/0.1807, allocations: 327.1 kB / 420.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.1808, allocations: 63.97 kB / 420.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.1809, allocations: 107.5 kB / 420.8 MB, free: 17.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1811, allocations: 177 kB / 421 MB, free: 17.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1811, allocations: 0 / 421 MB, free: 17.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004274/0.1815, allocations: 262.2 kB / 421.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1815, allocations: 10.19 kB / 421.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1816, allocations: 0 / 421.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.1819, allocations: 76.73 kB / 421.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1821, allocations: 27.98 kB / 421.4 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.1829, allocations: 1.492 MB / 422.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1831, allocations: 23.75 kB / 422.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1831, allocations: 4 kB / 422.9 MB, free: 15.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.1832, allocations: 133.8 kB / 423 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.1832, allocations: 11.91 kB / 423 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1836, allocations: 183.1 kB / 423.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1836, allocations: 0 / 423.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1836, allocations: 0 / 423.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1836, allocations: 12.3 kB / 423.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1837, allocations: 241.4 kB / 423.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1838, allocations: 0 / 423.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.1838, allocations: 12 kB / 423.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.1841, allocations: 68.73 kB / 423.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1841, allocations: 4 kB / 423.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007729/0.1849, allocations: 1.48 MB / 425 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1849, allocations: 0 / 425 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.1853, allocations: 272.2 kB / 425.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.1853, allocations: 85.02 kB / 425.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1853, allocations: 3.984 kB / 425.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1854, allocations: 8 kB / 425.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.1855, allocations: 7.984 kB / 425.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.1855, allocations: 4 kB / 425.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.1855, allocations: 121.5 kB / 425.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1855, allocations: 0 / 425.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1858, allocations: 40 kB / 425.6 MB, free: 12.28 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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,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.0004919/0.1863, allocations: 0.8224 MB / 426.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.1868, allocations: 278.5 kB / 426.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1868, allocations: 3.938 kB / 426.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.187, allocations: 175 kB / 426.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1873, allocations: 18.81 kB / 426.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1889, allocations: 1.966 MB / 428.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.189, allocations: 0.7006 MB / 429.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.189, allocations: 16.88 kB / 429.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1891, allocations: 35.42 kB / 429.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1891, allocations: 0 / 429.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/0.5188, allocations: 3.415 MB / 433 MB, free: 4.781 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.519, allocations: 212.2 kB / 433.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.472, allocations: 0 / 433.2 MB, free: 4.52 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)