Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001063/0.001063, allocations: 106 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.001101/0.001101, allocations: 189.8 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.335/1.335, 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.04409/0.04409, allocations: 8.095 MB / 299.2 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 361.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1963, allocations: 51.5 MB / 413.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002778/0.1992, allocations: 2.31 MB / 415.6 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2008, allocations: 1.66 MB / 417.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2009, allocations: 8 kB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.2012, allocations: 155.1 kB / 417.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.2016, allocations: 218.5 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.2032, allocations: 1.217 MB / 418.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.2035, allocations: 410.1 kB / 419.3 MB, free: 19.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.2037, allocations: 121.5 kB / 419.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2038, allocations: 171.3 kB / 419.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.204, allocations: 215.1 kB / 419.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.204, allocations: 32 kB / 419.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.2044, allocations: 271.7 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.2045, allocations: 79.73 kB / 420.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.2046, allocations: 191 kB / 420.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.2051, allocations: 0.5802 MB / 420.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2052, allocations: 0 / 420.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2052, allocations: 0 / 420.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2052, allocations: 0 / 420.9 MB, free: 17.97 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004627/0.2098, allocations: 1.361 MB / 422.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2099, allocations: 15.89 kB / 422.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.2099, allocations: 62.73 kB / 422.4 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.964e-05/0.21, allocations: 44.47 kB / 422.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2104, allocations: 327.5 kB / 422.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2104, allocations: 20.94 kB / 422.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.2105, allocations: 36.38 kB / 422.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.211, allocations: 473 kB / 423.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2111, allocations: 3.938 kB / 423.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.2111, allocations: 15.98 kB / 423.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2111, allocations: 7.938 kB / 423.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.2116, allocations: 422 kB / 423.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2136, allocations: 2.021 MB / 425.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.2143, allocations: 0.5141 MB / 426.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.2146, allocations: 280.8 kB / 426.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.2147, allocations: 19.91 kB / 426.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2147, allocations: 38.56 kB / 426.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.2147, allocations: 0 / 426.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006524/0.2213, allocations: 1.923 MB / 428.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2213, allocations: 106.8 kB / 428.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2215, allocations: 267 kB / 428.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.2216, allocations: 37.7 kB / 428.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.2217, allocations: 168.9 kB / 429 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.2218, allocations: 149.8 kB / 429.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.2219, allocations: 98.23 kB / 429.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.222, allocations: 350.8 kB / 429.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.2223, allocations: 293 kB / 429.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2227, allocations: 348.6 kB / 430.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/0.2235, allocations: 0.6529 MB / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2235, allocations: 0 / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003043/0.2265, allocations: 1.26 MB / 432.2 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2266, allocations: 11.92 kB / 432.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2266, allocations: 3.938 kB / 432.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/0.2299, allocations: 0.7852 MB / 433 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.2303, allocations: 83.89 kB / 433.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.2363, allocations: 4.179 MB / 437.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.2367, allocations: 59.45 kB / 437.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.2367, allocations: 19.98 kB / 437.3 MB, free: 0.9844 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2369, allocations: 158.5 kB / 437.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.237, allocations: 31.62 kB / 437.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.2402, allocations: 1.218 MB / 438.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2402, allocations: 4 kB / 438.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2402, allocations: 0 / 438.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2402, allocations: 3.984 kB / 438.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.2407, allocations: 0.5636 MB / 439.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2407, allocations: 3.938 kB / 439.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.241, allocations: 63.91 kB / 439.4 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.2444, allocations: 0.7534 MB / 440.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.2445, allocations: 8 kB / 440.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.2511, allocations: 4.135 MB / 444.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2511, allocations: 3.938 kB / 444.3 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.2544, allocations: 1.218 MB / 445.5 MB, free: 8.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.2545, allocations: 124.5 kB / 445.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.2545, allocations: 12 kB / 445.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.2549, allocations: 23.98 kB / 445.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.255, allocations: 44.33 kB / 445.7 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.2551, allocations: 19.98 kB / 445.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.2553, allocations: 186 kB / 445.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2553, allocations: 3.938 kB / 445.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.2559, allocations: 183.8 kB / 446.1 MB, free: 7.988 MB / 318.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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003547/0.2594, allocations: 1.786 MB / 447.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.262, allocations: 1.07 MB / 448.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2621, allocations: 0 / 448.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.2639, allocations: 0.6766 MB / 449.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2643, allocations: 36.89 kB / 449.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.2741, allocations: 5.214 MB / 454.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2745, allocations: 0.8011 MB / 455.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.2747, allocations: 54.92 kB / 455.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2749, allocations: 119.4 kB / 455.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2749, allocations: 0 / 455.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.014/2.289, allocations: 15.05 MB / 470.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/16.99, allocations: 0 / 470.9 MB, free: 15.17 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)