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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001208/0.001208, allocations: 103.2 kB / 16.45 MB, free: 6.441 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.001218/0.001218, allocations: 190 kB / 17.39 MB, free: 5.691 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04613/0.04613, allocations: 8.099 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09606, allocations: 51.51 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002652/0.09876, allocations: 1.617 MB / 467.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1007, allocations: 1.555 MB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.1008, allocations: 4 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.1012, allocations: 127.3 kB / 468.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.1015, allocations: 143.1 kB / 468.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.1032, allocations: 1.031 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1035, allocations: 250.8 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1037, allocations: 76.34 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.1038, allocations: 111.6 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.104, allocations: 123.5 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.104, allocations: 23.94 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.1044, allocations: 227.8 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.1045, allocations: 55.77 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1046, allocations: 119.3 kB / 470.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.1051, allocations: 414.6 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1051, allocations: 7.938 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1051, allocations: 0 / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1051, allocations: 4 kB / 471.3 MB, free: 12.8 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.003333/0.1085, allocations: 0.9866 MB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1085, allocations: 15.88 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.1086, allocations: 54.73 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.1086, allocations: 28.66 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.109, allocations: 256.3 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.109, allocations: 16.7 kB / 472.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.109, allocations: 16.38 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.1095, allocations: 306.5 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1095, allocations: 3.938 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.1095, allocations: 12 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1095, allocations: 4 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.1099, allocations: 239.9 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1115, allocations: 1.16 MB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.1121, allocations: 326.4 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1124, allocations: 158.1 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.1124, allocations: 11.94 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1125, allocations: 34.56 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.1125, allocations: 0 / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003716/0.1162, allocations: 1.069 MB / 476 MB, free: 7.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.1163, allocations: 106.8 kB / 476.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1165, allocations: 226.8 kB / 476.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1165, allocations: 29.7 kB / 476.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.1166, allocations: 128.8 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.1167, allocations: 86.75 kB / 476.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1168, allocations: 77.67 kB / 476.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.117, allocations: 330.8 kB / 477 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1172, allocations: 172.2 kB / 477.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.1175, allocations: 210.4 kB / 477.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.1181, allocations: 385.4 kB / 477.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1181, allocations: 0 / 477.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00199/0.1201, allocations: 0.7513 MB / 478.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1201, allocations: 4 kB / 478.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1201, allocations: 4 kB / 478.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.1222, allocations: 420.4 kB / 478.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1225, allocations: 55.91 kB / 479 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00442/0.1269, allocations: 2.734 MB / 481.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.1272, allocations: 39.69 kB / 481.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1272, allocations: 11.98 kB / 481.7 MB, free: 1.891 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.0001556/0.1274, allocations: 141.8 kB / 481.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.1275, allocations: 19.81 kB / 481.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.1295, allocations: 0.691 MB / 482.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1295, allocations: 4 kB / 482.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.1295, allocations: 3.938 kB / 482.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1295, allocations: 7.922 kB / 482.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.1299, allocations: 385.2 kB / 483 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1299, allocations: 4 kB / 483 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1301, allocations: 43.91 kB / 483 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.1321, allocations: 412.4 kB / 483.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.1321, allocations: 7.984 kB / 483.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004095/0.1362, allocations: 2.696 MB / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1362, allocations: 0 / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.1382, allocations: 0.7385 MB / 486.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.1383, allocations: 108.8 kB / 487 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.1383, allocations: 4 kB / 487 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1386, allocations: 23.92 kB / 487 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.1387, allocations: 19.97 kB / 487 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.1387, allocations: 12 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1389, allocations: 156.4 kB / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 0 / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.1394, allocations: 107.9 kB / 487.3 MB, free: 12.08 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.002358/0.1418, allocations: 1.31 MB / 488.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1432, allocations: 0.6117 MB / 489.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1432, allocations: 3.938 kB / 489.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000951/0.1442, allocations: 422.3 kB / 489.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1446, allocations: 42.94 kB / 489.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.1507, allocations: 3.496 MB / 493.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.151, allocations: 0.7446 MB / 493.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1511, allocations: 33.91 kB / 493.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1513, allocations: 71.41 kB / 494 MB, free: 5.188 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1513, allocations: 0 / 494 MB, free: 5.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.1812, allocations: 9.94 MB / 0.4921 GB, free: 11.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11, allocations: 11.38 kB / 0.4922 GB, free: 11.36 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)