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.001449/0.001449, allocations: 119.9 kB / 17.13 MB, free: 5.918 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.001606/0.001606, allocations: 189.2 kB / 18.06 MB, free: 5 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04674/0.04674, allocations: 8.102 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 59.91 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08236, allocations: 51.52 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002454/0.08485, allocations: 1.628 MB / 468.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.08667, allocations: 1.551 MB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.08676, allocations: 4 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.08707, allocations: 131.3 kB / 470 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.0874, allocations: 139.2 kB / 470.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.08911, allocations: 1.038 MB / 471.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.08943, allocations: 246.8 kB / 471.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.0896, allocations: 76.34 kB / 471.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.08972, allocations: 99.58 kB / 471.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.08993, allocations: 131.5 kB / 471.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.08998, allocations: 16 kB / 471.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.09037, allocations: 239.7 kB / 471.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.09042, allocations: 51.77 kB / 472 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.09054, allocations: 123.4 kB / 472.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.09103, allocations: 410.9 kB / 472.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.09104, allocations: 0 / 472.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.09105, allocations: 0 / 472.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.09106, allocations: 3.938 kB / 472.5 MB, free: 12.3 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.003655/0.09472, allocations: 0.9944 MB / 473.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.09477, allocations: 19.83 kB / 473.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.09485, allocations: 28.66 kB / 473.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.09516, allocations: 260.3 kB / 473.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.09519, allocations: 12.7 kB / 473.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.09524, allocations: 24.38 kB / 473.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.09573, allocations: 294.6 kB / 474.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.09574, allocations: 192 / 474.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.09578, allocations: 11.94 kB / 474.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.0958, allocations: 8 kB / 474.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.09618, allocations: 243.9 kB / 474.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.09781, allocations: 1.168 MB / 475.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.09847, allocations: 310.4 kB / 475.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.0987, allocations: 162.1 kB / 476 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.09876, allocations: 11.94 kB / 476 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.09879, allocations: 38.56 kB / 476.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.0988, allocations: 0 / 476.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.004048/0.1029, allocations: 1.061 MB / 477.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.1029, allocations: 118.8 kB / 477.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1032, allocations: 214.8 kB / 477.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1032, allocations: 29.7 kB / 477.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.1033, allocations: 136.8 kB / 477.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1034, allocations: 82.75 kB / 477.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1036, allocations: 69.69 kB / 477.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1037, allocations: 334.8 kB / 478.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.104, allocations: 180.2 kB / 478.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.1043, allocations: 210.4 kB / 478.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.1049, allocations: 381.5 kB / 478.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.1049, allocations: 4 kB / 478.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002165/0.1071, allocations: 0.7513 MB / 479.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1071, allocations: 4 kB / 479.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1071, allocations: 0 / 479.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.1093, allocations: 424.4 kB / 480 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1096, allocations: 59.89 kB / 480.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1143, allocations: 2.715 MB / 482.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.1147, allocations: 31.69 kB / 482.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.1147, allocations: 15.98 kB / 482.8 MB, free: 1.461 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.0001762/0.1149, allocations: 141.8 kB / 483 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.115, allocations: 19.81 kB / 483 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.1171, allocations: 0.6909 MB / 483.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1171, allocations: 8 kB / 483.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1171, allocations: 0 / 483.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1171, allocations: 3.984 kB / 483.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.1176, allocations: 401.2 kB / 484.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.1176, allocations: 11.91 kB / 484.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1177, allocations: 35.92 kB / 484.1 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.1198, allocations: 416.6 kB / 484.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1198, allocations: 4 kB / 484.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/0.1239, allocations: 2.699 MB / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1239, allocations: 0 / 487.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.1259, allocations: 0.7346 MB / 488 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.126, allocations: 108.8 kB / 488.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1261, allocations: 8 kB / 488.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1263, allocations: 23.86 kB / 488.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.1264, allocations: 23.97 kB / 488.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1265, allocations: 16 kB / 488.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1266, allocations: 148.4 kB / 488.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.1266, allocations: 0 / 488.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.1271, allocations: 123.8 kB / 488.4 MB, free: 11.62 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.0001876/0.1273, allocations: 119.2 kB / 488.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.1287, allocations: 0.6237 MB / 489.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1287, allocations: 0 / 489.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.1298, allocations: 414.3 kB / 489.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1301, allocations: 31.89 kB / 489.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.131, allocations: 0.5381 MB / 490.1 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1313, allocations: 0.7446 MB / 490.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.1314, allocations: 23.42 kB / 490.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1314, allocations: 4 kB / 490.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of Templates: time 0.007637/0.139, allocations: 5.003 MB / 495.9 MB, free: 4.055 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)