Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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: translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 116.3 kB / 17.13 MB, free: 5.965 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.002367/0.002368, allocations: 197.2 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.573/2.573, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1041/0.1041, allocations: 8.101 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.91 kB / 415.1 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1685, allocations: 51.53 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.005052/0.1736, allocations: 1.609 MB / 468.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.1778, allocations: 1.559 MB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.1781, allocations: 4 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007326/0.1789, allocations: 127.3 kB / 470 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.1799, allocations: 143.1 kB / 470.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.183, allocations: 1.035 MB / 471.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.1837, allocations: 246.8 kB / 471.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.184, allocations: 80.34 kB / 471.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1842, allocations: 99.58 kB / 471.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.1846, allocations: 127.5 kB / 471.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.1847, allocations: 23.94 kB / 471.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008503/0.1856, allocations: 235.8 kB / 471.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.1857, allocations: 51.77 kB / 472 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.1859, allocations: 119.5 kB / 472.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.187, allocations: 414.8 kB / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.187, allocations: 3.938 kB / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.187, allocations: 0 / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1871, allocations: 0 / 472.5 MB, free: 12.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.005693/0.1928, allocations: 0.9944 MB / 473.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.1928, allocations: 11.89 kB / 473.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.193, allocations: 24.66 kB / 473.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.1936, allocations: 264.3 kB / 473.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.1936, allocations: 16.7 kB / 473.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.1937, allocations: 20.38 kB / 473.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.1945, allocations: 302.5 kB / 474.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1945, allocations: 192 / 474.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.1946, allocations: 11.94 kB / 474.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1946, allocations: 4 kB / 474.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.1952, allocations: 243.9 kB / 474.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1978, allocations: 1.168 MB / 475.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.1988, allocations: 314.4 kB / 475.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.1992, allocations: 162.1 kB / 476 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.454e-05/0.1993, allocations: 7.938 kB / 476 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.1993, allocations: 38.56 kB / 476.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.1994, allocations: 7.938 kB / 476.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00557/0.2049, allocations: 1.065 MB / 477.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.2051, allocations: 106.8 kB / 477.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.2055, allocations: 222.8 kB / 477.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.2056, allocations: 29.7 kB / 477.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.2057, allocations: 132.8 kB / 477.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2059, allocations: 86.75 kB / 477.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.2061, allocations: 69.69 kB / 477.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2063, allocations: 334.8 kB / 478.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.2067, allocations: 176.1 kB / 478.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.2072, allocations: 214.5 kB / 478.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.2082, allocations: 381.5 kB / 478.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2082, allocations: 0 / 478.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003105/0.2113, allocations: 0.7474 MB / 479.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2114, allocations: 8 kB / 479.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2114, allocations: 0 / 479.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/0.2144, allocations: 428.4 kB / 480 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.2148, allocations: 55.89 kB / 480.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/0.2214, allocations: 2.715 MB / 482.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.2219, allocations: 35.62 kB / 482.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.222, allocations: 15.98 kB / 482.8 MB, free: 1.465 MB / 350.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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.2222, allocations: 133.8 kB / 483 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.2223, allocations: 23.81 kB / 483 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.2253, allocations: 0.6947 MB / 483.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2253, allocations: 7.984 kB / 483.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2253, allocations: 0 / 483.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2253, allocations: 11.92 kB / 483.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.2259, allocations: 401.2 kB / 484.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.226, allocations: 0 / 484.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.2262, allocations: 35.98 kB / 484.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002905/0.2291, allocations: 416.6 kB / 484.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.2292, allocations: 4 kB / 484.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.2354, allocations: 2.695 MB / 487.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2354, allocations: 3.938 kB / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.2384, allocations: 0.7424 MB / 488 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.2385, allocations: 104.8 kB / 488.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.2386, allocations: 8 kB / 488.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.239, allocations: 27.67 kB / 488.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2391, allocations: 23.97 kB / 488.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.2392, allocations: 4 kB / 488.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.2394, allocations: 160.4 kB / 488.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2395, allocations: 3.938 kB / 488.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007943/0.2403, allocations: 111.9 kB / 488.4 MB, free: 11.63 MB / 366.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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/0.2406, allocations: 131.2 kB / 488.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2428, allocations: 0.6159 MB / 489.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2429, allocations: 7.938 kB / 489.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.2443, allocations: 406.4 kB / 489.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.2449, allocations: 30.92 kB / 489.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2464, allocations: 0.5345 MB / 490.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.2468, allocations: 0.7407 MB / 490.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.247, allocations: 31.42 kB / 490.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.247, allocations: 4 kB / 490.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01301/0.26, allocations: 5.036 MB / 495.9 MB, free: 4.031 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)