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.0009926/0.0009969, allocations: 104.6 kB / 16.31 MB, free: 6.391 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.001233/0.001233, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.269/1.269, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04017/0.04017, allocations: 8.097 MB / 299.2 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.91 kB / 361.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1621, allocations: 51.51 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001717/0.1638, allocations: 1.073 MB / 414.4 MB, free: 24.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.165, allocations: 1.446 MB / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.165, allocations: 4 kB / 415.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1653, allocations: 99.53 kB / 416 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1655, allocations: 79.53 kB / 416 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1665, allocations: 0.875 MB / 416.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1666, allocations: 111.5 kB / 417 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.1667, allocations: 32.97 kB / 417.1 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.1668, allocations: 47.84 kB / 417.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.1668, allocations: 51.77 kB / 417.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1669, allocations: 12 kB / 417.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1671, allocations: 211.8 kB / 417.4 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.1671, allocations: 23.91 kB / 417.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1672, allocations: 55.73 kB / 417.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1674, allocations: 277.5 kB / 417.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1674, allocations: 0 / 417.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1674, allocations: 0 / 417.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1675, allocations: 0 / 417.7 MB, free: 21.18 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.001539/0.169, allocations: 0.6434 MB / 418.4 MB, free: 20.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.169, allocations: 11.89 kB / 418.4 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1691, allocations: 50.67 kB / 418.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.1691, allocations: 20.69 kB / 418.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1692, allocations: 201 kB / 418.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1693, allocations: 8.375 kB / 418.6 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1693, allocations: 12.38 kB / 418.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1695, allocations: 167.3 kB / 418.8 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1695, allocations: 7.938 kB / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1695, allocations: 0 / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1695, allocations: 0 / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1697, allocations: 120 kB / 419 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.1702, allocations: 496.3 kB / 419.4 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.1708, allocations: 178.6 kB / 419.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.1708, allocations: 44.86 kB / 419.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.1711, allocations: 470.1 kB / 420.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.1712, allocations: 38.5 kB / 420.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.011e-06/0.1712, allocations: 0 / 420.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006167/0.1718, allocations: 287.4 kB / 420.4 MB, free: 18.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.1718, allocations: 81.09 kB / 420.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.1719, allocations: 160 kB / 420.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1719, allocations: 29.7 kB / 420.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.172, allocations: 115.8 kB / 420.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.172, allocations: 35.47 kB / 420.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.172, allocations: 45.69 kB / 420.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.1721, allocations: 323.1 kB / 421.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.1721, allocations: 59.98 kB / 421.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.1722, allocations: 116.2 kB / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1724, allocations: 179.2 kB / 421.5 MB, free: 17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1724, allocations: 0 / 421.5 MB, free: 17 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004097/0.1728, allocations: 258.2 kB / 421.8 MB, free: 16.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.1729, allocations: 4 kB / 421.8 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1729, allocations: 4 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.1732, allocations: 72.89 kB / 421.9 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1733, allocations: 35.92 kB / 421.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008294/0.1742, allocations: 1.485 MB / 423.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1743, allocations: 23.78 kB / 423.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1743, allocations: 11.98 kB / 423.4 MB, free: 14.96 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.334e-05/0.1744, allocations: 129.8 kB / 423.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1744, allocations: 15.84 kB / 423.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.1748, allocations: 183.2 kB / 423.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1748, allocations: 0 / 423.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1748, allocations: 4 kB / 423.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1748, allocations: 7.875 kB / 423.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.175, allocations: 241.4 kB / 424 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.175, allocations: 0 / 424 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1751, allocations: 15.98 kB / 424 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.1754, allocations: 68.8 kB / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1754, allocations: 0 / 424.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007503/0.1761, allocations: 1.469 MB / 425.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1761, allocations: 4 kB / 425.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1765, allocations: 280.3 kB / 425.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.1765, allocations: 89.02 kB / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1765, allocations: 0 / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1766, allocations: 4 kB / 425.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.1767, allocations: 11.98 kB / 425.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1767, allocations: 0 / 425.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.144e-05/0.1767, allocations: 119.2 kB / 426.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 426.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.177, allocations: 48 kB / 426.1 MB, free: 12.05 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.0004742/0.1775, allocations: 0.8145 MB / 426.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.1779, allocations: 276.6 kB / 427.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.178, allocations: 3.938 kB / 427.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.1782, allocations: 182.9 kB / 427.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1784, allocations: 4 kB / 427.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.18, allocations: 1.934 MB / 429.3 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.1801, allocations: 0.7084 MB / 430 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.1802, allocations: 12.86 kB / 430 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.1802, allocations: 35.42 kB / 430.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1802, allocations: 3.938 kB / 430.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.512/4.692, allocations: 3.483 MB / 433.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/18.25, allocations: 0 / 433.5 MB, free: 4.473 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)