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.001263/0.001263, allocations: 103.9 kB / 16.45 MB, free: 6.43 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.001194/0.001194, allocations: 188.9 kB / 17.39 MB, free: 5.688 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0506/0.0506, allocations: 8.096 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 63.91 kB / 414 MB, free: 22.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08721, allocations: 51.51 MB / 465.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002767/0.09002, allocations: 1.621 MB / 467.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.09205, allocations: 1.563 MB / 468.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.09215, allocations: 4 kB / 468.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.09252, allocations: 127.3 kB / 468.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.09289, allocations: 139.1 kB / 468.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.09466, allocations: 1.019 MB / 470 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.09501, allocations: 258.8 kB / 470.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.09517, allocations: 72.36 kB / 470.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.09529, allocations: 107.6 kB / 470.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.09549, allocations: 127.4 kB / 470.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.09553, allocations: 23.94 kB / 470.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.09593, allocations: 235.8 kB / 470.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.09599, allocations: 51.77 kB / 470.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.09611, allocations: 119.4 kB / 470.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.09665, allocations: 418.8 kB / 471.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09666, allocations: 3.938 kB / 471.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.09667, allocations: 4 kB / 471.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.09668, allocations: 0 / 471.4 MB, free: 12.91 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.003397/0.1001, allocations: 0.9937 MB / 472.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1001, allocations: 11.89 kB / 472.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.1002, allocations: 54.73 kB / 472.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.1003, allocations: 32.78 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1006, allocations: 264.3 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1007, allocations: 16.7 kB / 472.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1007, allocations: 16.38 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.1012, allocations: 302.5 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1012, allocations: 3.938 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1013, allocations: 8 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1013, allocations: 4 kB / 473 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.1017, allocations: 247.9 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1034, allocations: 1.16 MB / 474.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.104, allocations: 318.4 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.1043, allocations: 158.1 kB / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.1043, allocations: 11.92 kB / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1044, allocations: 38.56 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1044, allocations: 4 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003775/0.1082, allocations: 1.065 MB / 476 MB, free: 7.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.1082, allocations: 110.8 kB / 476.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1085, allocations: 222.8 kB / 476.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.1086, allocations: 33.7 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.1087, allocations: 128.9 kB / 476.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.1087, allocations: 91.22 kB / 476.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1089, allocations: 73.67 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.109, allocations: 326.8 kB / 477 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.1093, allocations: 176.2 kB / 477.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.1096, allocations: 214.4 kB / 477.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.1102, allocations: 389.4 kB / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1102, allocations: 0 / 477.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002036/0.1122, allocations: 0.7515 MB / 478.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1123, allocations: 4 kB / 478.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1123, allocations: 0 / 478.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.1144, allocations: 424.3 kB / 478.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.1146, allocations: 55.91 kB / 479 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.1192, allocations: 2.731 MB / 481.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.1195, allocations: 35.78 kB / 481.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1196, allocations: 11.98 kB / 481.8 MB, free: 1.984 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.0001777/0.1197, allocations: 145.8 kB / 481.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.1198, allocations: 23.86 kB / 481.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.1219, allocations: 0.6948 MB / 482.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1219, allocations: 4 kB / 482.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1219, allocations: 7.938 kB / 482.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1219, allocations: 7.922 kB / 482.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.1224, allocations: 385.3 kB / 483 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1224, allocations: 0 / 483 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1226, allocations: 43.92 kB / 483.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.1246, allocations: 416.4 kB / 483.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.1246, allocations: 4 kB / 483.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004233/0.1289, allocations: 2.692 MB / 486.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1289, allocations: 4 kB / 486.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.1309, allocations: 0.7347 MB / 486.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.131, allocations: 108.9 kB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.1311, allocations: 3.984 kB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.1313, allocations: 27.92 kB / 487 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.1314, allocations: 23.97 kB / 487.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1315, allocations: 8 kB / 487.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1316, allocations: 156.4 kB / 487.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 487.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.1321, allocations: 107.9 kB / 487.3 MB, free: 12.16 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.002337/0.1345, allocations: 1.31 MB / 488.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.136, allocations: 0.6234 MB / 489.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.136, allocations: 7.938 kB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.137, allocations: 418.3 kB / 489.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1373, allocations: 35.06 kB / 489.7 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.1436, allocations: 3.489 MB / 493.2 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.144, allocations: 0.7446 MB / 493.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1442, allocations: 33.92 kB / 494 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1443, allocations: 71.41 kB / 494 MB, free: 5.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1443, allocations: 4 kB / 494.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.1787, allocations: 9.647 MB / 0.4919 GB, free: 11.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.69, allocations: 4.938 kB / 0.4919 GB, free: 11.74 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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)