Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.001235/0.001235, allocations: 106.7 kB / 16.92 MB, free: 5.777 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.001215/0.001215, allocations: 187.3 kB / 17.85 MB, free: 5.168 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.286/1.286, allocations: 222.9 MB / 241.5 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1771/0.1771, allocations: 38.02 MB / 329.7 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 61.97 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09522, allocations: 58.06 MB / 457 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005822/0.1011, allocations: 4.475 MB / 461.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1034, allocations: 1.535 MB / 463 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1037, allocations: 11.94 kB / 463 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.1045, allocations: 282.6 kB / 463.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.1051, allocations: 270.7 kB / 463.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.1057, allocations: 255.4 kB / 463.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.1064, allocations: 0.6352 MB / 464.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1068, allocations: 284.7 kB / 464.7 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.1072, allocations: 287 kB / 465 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.1077, allocations: 386.8 kB / 465.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.1078, allocations: 44 kB / 465.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.1081, allocations: 147.7 kB / 465.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.1083, allocations: 255.3 kB / 465.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.1086, allocations: 274.6 kB / 466 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.1092, allocations: 0.6386 MB / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1092, allocations: 0 / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1092, allocations: 0 / 466.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1092, allocations: 0 / 466.7 MB, free: 14.16 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001646/0.1109, allocations: 0.8905 MB / 467.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1109, allocations: 15.89 kB / 467.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.333e-05/0.111, allocations: 90.69 kB / 467.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.1115, allocations: 92.14 kB / 467.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.1123, allocations: 483.8 kB / 468.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.1124, allocations: 33.38 kB / 468.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1125, allocations: 55.83 kB / 468.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.1133, allocations: 0.684 MB / 469 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1134, allocations: 7.938 kB / 469 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.1134, allocations: 19.98 kB / 469 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.1135, allocations: 36.98 kB / 469.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007426/0.1143, allocations: 0.5267 MB / 469.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.1174, allocations: 3.094 MB / 472.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.118, allocations: 325.2 kB / 473 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1182, allocations: 174.7 kB / 473.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1182, allocations: 7.984 kB / 473.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1183, allocations: 42.56 kB / 473.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.1183, allocations: 3.984 kB / 473.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00172/0.12, allocations: 1.217 MB / 474.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.12, allocations: 85.23 kB / 474.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.1204, allocations: 385.6 kB / 474.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1204, allocations: 29.7 kB / 474.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1206, allocations: 303.1 kB / 475.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.1207, allocations: 114.4 kB / 475.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1208, allocations: 106.1 kB / 475.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.121, allocations: 350.7 kB / 475.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1212, allocations: 197 kB / 476 MB, free: 4.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.1216, allocations: 381.5 kB / 476.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/0.1223, allocations: 0.5932 MB / 477 MB, free: 3.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1223, allocations: 4 kB / 477 MB, free: 3.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00172/0.124, allocations: 0.8334 MB / 477.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1241, allocations: 8 kB / 477.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1241, allocations: 8 kB / 477.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.1252, allocations: 266 kB / 478.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.1258, allocations: 135.8 kB / 478.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004345/0.1301, allocations: 4.048 MB / 482.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.1304, allocations: 35.81 kB / 482.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.1305, allocations: 27.98 kB / 482.3 MB, free: 13.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1307, allocations: 229.9 kB / 482.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.1308, allocations: 39.53 kB / 482.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006977/0.1315, allocations: 489 kB / 483.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1315, allocations: 7.938 kB / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1315, allocations: 0 / 483.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1315, allocations: 4 kB / 483.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1328, allocations: 1.007 MB / 484.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1328, allocations: 7.938 kB / 484.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.1332, allocations: 83.88 kB / 484.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1332, allocations: 4 kB / 484.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.1333, allocations: 16.17 kB / 484.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1333, allocations: 8.062 kB / 484.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1333, allocations: 4 kB / 484.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.1341, allocations: 0.7433 MB / 484.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.1342, allocations: 120.5 kB / 485.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.1343, allocations: 8.062 kB / 485.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1345, allocations: 23.98 kB / 485.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1346, allocations: 19.97 kB / 485.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1346, allocations: 15.98 kB / 485.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.1349, allocations: 267.1 kB / 485.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 485.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.1353, allocations: 124 kB / 485.5 MB, free: 10.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.1365, allocations: 1.296 MB / 486.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.1379, allocations: 0.8526 MB / 487.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1379, allocations: 1.094 kB / 487.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.1381, allocations: 207.8 kB / 487.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.1386, allocations: 84.2 kB / 487.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007994/0.1466, allocations: 5.347 MB / 493.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.1471, allocations: 0.8937 MB / 494.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.1474, allocations: 131.3 kB / 494.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.1477, allocations: 167.4 kB / 494.5 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1477, allocations: 4 kB / 494.5 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.2153, allocations: 10.45 MB / 0.4931 GB, free: 6.594 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.4, allocations: 7.859 kB / 0.4931 GB, free: 6.586 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)