Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001359/0.001359, allocations: 106.7 kB / 16.45 MB, free: 6.035 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.001375/0.001375, allocations: 190.6 kB / 17.39 MB, free: 5.559 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.448/1.448, 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.05077/0.05077, allocations: 8.098 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 71.88 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08813, allocations: 51.5 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002943/0.09111, allocations: 1.839 MB / 467.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.09323, allocations: 1.555 MB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.09333, allocations: 4 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.09371, allocations: 131.2 kB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.09407, allocations: 147.1 kB / 469.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.09552, allocations: 0.7973 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.09593, allocations: 310.5 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.09616, allocations: 117.9 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.0963, allocations: 123.6 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.09649, allocations: 155.3 kB / 470.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.09654, allocations: 24 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.09689, allocations: 175.8 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.09696, allocations: 63.77 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.09712, allocations: 147.2 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.09766, allocations: 422.5 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09768, allocations: 0 / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09768, allocations: 0 / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.0977, allocations: 4 kB / 471.5 MB, free: 12.66 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003099/0.1008, allocations: 0.9664 MB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1009, allocations: 15.89 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.08e-05/0.1009, allocations: 62.72 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.101, allocations: 32.75 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1014, allocations: 280.2 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1014, allocations: 24.81 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.1014, allocations: 24.38 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.102, allocations: 339.8 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1021, allocations: 7.922 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1021, allocations: 7.984 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1021, allocations: 4 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1026, allocations: 337.6 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1043, allocations: 1.017 MB / 474.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.105, allocations: 398.4 kB / 475 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.1053, allocations: 236.3 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.1054, allocations: 7.984 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1055, allocations: 47.03 kB / 475.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.1055, allocations: 0 / 475.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002747/0.1082, allocations: 1.05 MB / 476.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1083, allocations: 55.41 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1085, allocations: 230.9 kB / 476.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.814e-05/0.1086, allocations: 37.7 kB / 476.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1087, allocations: 144.8 kB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1088, allocations: 122.9 kB / 476.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.109, allocations: 94.05 kB / 477 MB, free: 6.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1092, allocations: 330.8 kB / 477.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.1095, allocations: 236.8 kB / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.1099, allocations: 239.9 kB / 477.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.1107, allocations: 0.5093 MB / 478.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1107, allocations: 0 / 478.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001394/0.1121, allocations: 0.721 MB / 479 MB, free: 4.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1121, allocations: 7.984 kB / 479 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1121, allocations: 0 / 479 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/0.1128, allocations: 158.5 kB / 479.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.1132, allocations: 79.89 kB / 479.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/0.1178, allocations: 4.622 MB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.1181, allocations: 39.72 kB / 483.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1181, allocations: 8 kB / 483.9 MB, free: 15.5 MB / 366.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.1183, allocations: 149.9 kB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.1184, allocations: 23.86 kB / 484.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1197, allocations: 0.5999 MB / 484.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1197, allocations: 8 kB / 484.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1197, allocations: 0 / 484.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1198, allocations: 3.984 kB / 484.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.1203, allocations: 461.1 kB / 485.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1203, allocations: 4 kB / 485.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.1205, allocations: 51.91 kB / 485.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/0.1212, allocations: 150.5 kB / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.1212, allocations: 8 kB / 485.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.1255, allocations: 4.599 MB / 489.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1255, allocations: 0 / 489.9 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.1267, allocations: 0.6352 MB / 490.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.1268, allocations: 108.8 kB / 490.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.1269, allocations: 8 kB / 490.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.1271, allocations: 8 kB / 490.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.1272, allocations: 31.89 kB / 490.7 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.1272, allocations: 8 kB / 490.7 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1274, allocations: 160.1 kB / 490.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1274, allocations: 4 kB / 490.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.1279, allocations: 131.9 kB / 491 MB, free: 7.824 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.1295, allocations: 1.187 MB / 492.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.1312, allocations: 0.8772 MB / 493.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1313, allocations: 4 kB / 493.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.1323, allocations: 0.5747 MB / 493.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1326, allocations: 20.67 kB / 493.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.138, allocations: 3.578 MB / 497.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1384, allocations: 0.7572 MB / 498 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.1386, allocations: 34.25 kB / 498 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1387, allocations: 83.39 kB / 498.1 MB, free: 464 kB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1387, allocations: 0 / 498.1 MB, free: 464 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.1768, allocations: 7.455 MB / 0.4937 GB, free: 9.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.42, allocations: 10.56 kB / 0.4937 GB, free: 9.109 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)