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.001578/0.001578, allocations: 106.3 kB / 17.07 MB, free: 5.68 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.001848/0.001848, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.487/1.487, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05084/0.05084, allocations: 8.105 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 72.06 kB / 363.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1997, allocations: 51.51 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002573/0.2023, allocations: 1.612 MB / 416.3 MB, free: 23.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2042, allocations: 1.555 MB / 417.8 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2044, allocations: 8 kB / 417.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.2047, allocations: 139.2 kB / 418 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.205, allocations: 131.2 kB / 418.1 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.2065, allocations: 1.034 MB / 419.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2067, allocations: 246.8 kB / 419.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2069, allocations: 80.22 kB / 419.5 MB, free: 20.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.207, allocations: 107.6 kB / 419.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2071, allocations: 127.5 kB / 419.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.2071, allocations: 20 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2074, allocations: 235.7 kB / 419.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.2075, allocations: 47.83 kB / 420 MB, free: 20.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.2076, allocations: 119.3 kB / 420.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2079, allocations: 420.5 kB / 420.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2079, allocations: 4 kB / 420.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.208, allocations: 0 / 420.5 MB, free: 19.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.208, allocations: 0 / 420.5 MB, free: 19.57 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003121/0.2111, allocations: 0.9866 MB / 421.5 MB, free: 18.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2111, allocations: 11.89 kB / 421.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2112, allocations: 28.66 kB / 421.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2114, allocations: 260.5 kB / 421.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2115, allocations: 24.62 kB / 421.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.2115, allocations: 24.31 kB / 421.9 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.2119, allocations: 302.9 kB / 422.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2119, allocations: 192 / 422.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.2119, allocations: 7.938 kB / 422.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2119, allocations: 4 kB / 422.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.2122, allocations: 247.9 kB / 422.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2135, allocations: 1.16 MB / 423.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.2141, allocations: 312.1 kB / 423.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2143, allocations: 160.8 kB / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.2143, allocations: 7.984 kB / 424 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2144, allocations: 38.56 kB / 424.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.2144, allocations: 0 / 424.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003445/0.2178, allocations: 1.07 MB / 425.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.2179, allocations: 102.8 kB / 425.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.218, allocations: 215 kB / 425.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2181, allocations: 37.64 kB / 425.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2181, allocations: 136.8 kB / 425.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.2182, allocations: 86.75 kB / 425.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.2183, allocations: 73.58 kB / 425.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.2183, allocations: 330.8 kB / 426.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2186, allocations: 172.3 kB / 426.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2188, allocations: 222.3 kB / 426.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.2193, allocations: 381.5 kB / 426.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2193, allocations: 4.031 kB / 426.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001885/0.2212, allocations: 0.7358 MB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2212, allocations: 4 kB / 427.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2212, allocations: 4 kB / 427.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.2232, allocations: 420.4 kB / 428 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2234, allocations: 55.91 kB / 428.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.227, allocations: 2.748 MB / 430.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.2273, allocations: 35.67 kB / 430.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2273, allocations: 15.98 kB / 430.9 MB, free: 8.727 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 (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.0001124/0.2274, allocations: 138.3 kB / 431 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.2275, allocations: 19.72 kB / 431 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.2293, allocations: 0.6911 MB / 431.7 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2293, allocations: 4 kB / 431.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2293, allocations: 0 / 431.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2293, allocations: 3.984 kB / 431.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.2296, allocations: 397.2 kB / 432.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2296, allocations: 0 / 432.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2298, allocations: 39.92 kB / 432.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.2316, allocations: 412.4 kB / 432.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.2317, allocations: 16 kB / 432.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/0.2349, allocations: 2.699 MB / 435.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2349, allocations: 0 / 435.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2366, allocations: 0.7461 MB / 436 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.2367, allocations: 92.86 kB / 436.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.2367, allocations: 15.92 kB / 436.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.237, allocations: 27.92 kB / 436.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.2371, allocations: 19.97 kB / 436.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.2371, allocations: 8 kB / 436.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.2372, allocations: 156.4 kB / 436.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2372, allocations: 0 / 436.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000423/0.2377, allocations: 107.9 kB / 436.4 MB, free: 2.914 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 (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.0001777/0.2378, allocations: 123.2 kB / 436.6 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.2391, allocations: 0.6199 MB / 437.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2391, allocations: 0 / 437.2 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.24, allocations: 414.4 kB / 437.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.2403, allocations: 35.88 kB / 437.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006724/0.241, allocations: 0.4894 MB / 438.1 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2411, allocations: 0.7485 MB / 438.9 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.2412, allocations: 34.02 kB / 438.9 MB, free: 392 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.2413, allocations: 31.42 kB / 438.9 MB, free: 360 kB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2413, allocations: 0 / 438.9 MB, free: 360 kB / 302.1 MB Notification: Performance of Templates: time 0.01103/0.2523, allocations: 7.115 MB / 446 MB, free: 9.258 MB / 318.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)