Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.001007/0.001007, allocations: 106.9 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.001108/0.001108, 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.187/1.187, 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.03978/0.03978, allocations: 8.107 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 361.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1682, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001994/0.1702, allocations: 1.686 MB / 415 MB, free: 23.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1714, allocations: 1.563 MB / 416.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.1715, allocations: 4 kB / 416.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1718, allocations: 135.2 kB / 416.7 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.172, allocations: 127.2 kB / 416.8 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1731, allocations: 0.9102 MB / 417.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1733, allocations: 270.7 kB / 418 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1735, allocations: 76.59 kB / 418.1 MB, free: 20.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.1736, allocations: 111.6 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1737, allocations: 139.5 kB / 418.3 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1737, allocations: 20 kB / 418.4 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.174, allocations: 215.8 kB / 418.6 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.174, allocations: 55.77 kB / 418.6 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.1741, allocations: 123.3 kB / 418.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1744, allocations: 417.1 kB / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1744, allocations: 0 / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1744, allocations: 3.938 kB / 419.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1744, allocations: 0 / 419.2 MB, free: 19.75 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002094/0.1765, allocations: 0.85 MB / 420 MB, free: 18.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1766, allocations: 19.83 kB / 420 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1766, allocations: 54.72 kB / 420.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1767, allocations: 28.66 kB / 420.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1769, allocations: 260.7 kB / 420.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1769, allocations: 20.81 kB / 420.4 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.177, allocations: 16.38 kB / 420.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1773, allocations: 295.8 kB / 420.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1773, allocations: 3.938 kB / 420.7 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1773, allocations: 8 kB / 420.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1774, allocations: 4 kB / 420.7 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1777, allocations: 277.6 kB / 421 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1787, allocations: 1.043 MB / 422 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.1795, allocations: 464.9 kB / 422.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.1797, allocations: 176.8 kB / 422.6 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.1797, allocations: 11.98 kB / 422.7 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.1797, allocations: 38.5 kB / 422.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.1797, allocations: 0 / 422.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002486/0.1822, allocations: 0.9638 MB / 423.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.1823, allocations: 55.41 kB / 423.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1824, allocations: 211.9 kB / 423.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1824, allocations: 33.7 kB / 424 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.1825, allocations: 140.5 kB / 424.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.1825, allocations: 102.5 kB / 424.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.1826, allocations: 77.62 kB / 424.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.1827, allocations: 326.8 kB / 424.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1829, allocations: 179.9 kB / 424.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1831, allocations: 183.8 kB / 424.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.1835, allocations: 385.5 kB / 425.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1835, allocations: 0 / 425.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001129/0.1846, allocations: 0.6694 MB / 426 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1847, allocations: 4 kB / 426 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1847, allocations: 0 / 426 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009057/0.1856, allocations: 248.6 kB / 426.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1858, allocations: 55.91 kB / 426.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/0.2131, allocations: 2.695 MB / 429 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.2134, allocations: 39.53 kB / 429 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.2135, allocations: 11.98 kB / 429 MB, free: 9.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.2136, allocations: 147.1 kB / 429.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.2137, allocations: 15.81 kB / 429.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2149, allocations: 0.6062 MB / 429.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.215, allocations: 4 kB / 429.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.215, allocations: 0 / 429.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.215, allocations: 4.047 kB / 429.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.2164, allocations: 1.057 MB / 430.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2164, allocations: 0 / 430.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.2165, allocations: 31.98 kB / 430.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/0.2173, allocations: 244.5 kB / 431.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2173, allocations: 11.94 kB / 431.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.2198, allocations: 2.673 MB / 433.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2198, allocations: 0 / 433.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2208, allocations: 0.6524 MB / 434.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.2209, allocations: 104.8 kB / 434.6 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.2209, allocations: 7.984 kB / 434.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.2211, allocations: 12 kB / 434.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.2212, allocations: 19.97 kB / 434.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.2212, allocations: 11.98 kB / 434.6 MB, free: 3.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.2213, allocations: 163 kB / 434.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2213, allocations: 0 / 434.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.2217, allocations: 108 kB / 434.9 MB, free: 3.293 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.223, allocations: 1.212 MB / 436.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.224, allocations: 0.6232 MB / 436.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.224, allocations: 0 / 436.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.2247, allocations: 406.9 kB / 437.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.225, allocations: 26.17 kB / 437.1 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.2294, allocations: 3.368 MB / 440.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2297, allocations: 0.7524 MB / 441.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.2298, allocations: 30 kB / 441.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.2299, allocations: 71.41 kB / 441.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2299, allocations: 0 / 441.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.964/4.194, allocations: 8.889 MB / 450.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/20.03, allocations: 20.33 kB / 450.3 MB, free: 3.848 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)