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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001086/0.001086, allocations: 94.48 kB / 16.3 MB, free: 6.461 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.0009332/0.0009332, allocations: 175.3 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1698/0.1698, allocations: 38.04 MB / 309.7 MB, free: 6.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005077, allocations: 23.12 kB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 56.32 MB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.003859/0.2197, allocations: 4.365 MB / 437.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.222, allocations: 1.669 MB / 438.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.2223, allocations: 27.81 kB / 439 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.2225, allocations: 67.5 kB / 439 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.223, allocations: 259.2 kB / 439.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2236, allocations: 239.5 kB / 439.5 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.2239, allocations: 351.7 kB / 439.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.2245, allocations: 484.2 kB / 440.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.2247, allocations: 219.2 kB / 440.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.2251, allocations: 275.2 kB / 440.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.2252, allocations: 24 kB / 440.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2254, allocations: 103.8 kB / 440.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.2256, allocations: 199.5 kB / 441.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.2257, allocations: 117.4 kB / 441.3 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.226, allocations: 486.9 kB / 441.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.226, allocations: 4 kB / 441.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.226, allocations: 0 / 441.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.226, allocations: 0 / 441.7 MB, free: 9.938 MB / 318.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.001479/0.2275, allocations: 0.8008 MB / 442.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2276, allocations: 8.031 kB / 442.5 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.2277, allocations: 94.41 kB / 442.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.2282, allocations: 99.27 kB / 442.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/0.2291, allocations: 470.8 kB / 443.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2291, allocations: 33 kB / 443.2 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2292, allocations: 51.98 kB / 443.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.23, allocations: 0.6839 MB / 444 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.23, allocations: 0 / 444 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.2301, allocations: 19.94 kB / 444 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.2302, allocations: 40.97 kB / 444 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/0.2308, allocations: 0.515 MB / 444.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.2337, allocations: 3.129 MB / 447.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2341, allocations: 317.3 kB / 448 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2342, allocations: 8.047 kB / 448 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2342, allocations: 43 kB / 448 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.2342, allocations: 0 / 448 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001544/0.2358, allocations: 1.208 MB / 449.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2358, allocations: 81.11 kB / 449.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.2361, allocations: 393.5 kB / 449.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2361, allocations: 33.7 kB / 449.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2363, allocations: 295.2 kB / 450 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.2363, allocations: 118.3 kB / 450.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.2364, allocations: 12.12 kB / 450.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.2364, allocations: 354.8 kB / 450.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.2366, allocations: 188.9 kB / 450.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.2369, allocations: 377.5 kB / 451 MB, free: 92 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.2373, allocations: 267.7 kB / 451.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2373, allocations: 0 / 451.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002021/0.2393, allocations: 0.8377 MB / 452.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2393, allocations: 8 kB / 452.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2394, allocations: 7.984 kB / 452.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.2409, allocations: 305.8 kB / 452.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.2416, allocations: 143.8 kB / 452.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.2466, allocations: 3.911 MB / 456.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.247, allocations: 31.94 kB / 456.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.247, allocations: 27.98 kB / 456.6 MB, free: 10.27 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.2473, allocations: 229.6 kB / 456.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.2474, allocations: 35.53 kB / 456.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.2482, allocations: 0.489 MB / 457.3 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2482, allocations: 4 kB / 457.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2482, allocations: 4 kB / 457.3 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.2482, allocations: 11.92 kB / 457.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.2496, allocations: 1.023 MB / 458.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2496, allocations: 0 / 458.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.2501, allocations: 91.88 kB / 458.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2501, allocations: 0 / 458.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.2501, allocations: 16 kB / 458.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2501, allocations: 4.062 kB / 458.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2502, allocations: 7.953 kB / 458.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/0.2511, allocations: 0.7898 MB / 459.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2512, allocations: 120.6 kB / 459.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.2514, allocations: 8.062 kB / 459.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.2517, allocations: 19.98 kB / 459.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.2518, allocations: 15.97 kB / 459.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.2518, allocations: 19.98 kB / 459.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.2521, allocations: 263.1 kB / 459.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2521, allocations: 0 / 459.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.2526, allocations: 128 kB / 459.8 MB, free: 6.867 MB / 334.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.254, allocations: 1.531 MB / 461.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.2555, allocations: 0.7946 MB / 462.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2555, allocations: 0 / 462.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.2557, allocations: 200.7 kB / 462.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.2562, allocations: 86.5 kB / 462.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.2632, allocations: 7.616 MB / 470 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.2638, allocations: 0.9096 MB / 471 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.2642, allocations: 131.3 kB / 471.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.2645, allocations: 171.4 kB / 471.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2645, allocations: 0 / 471.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.2877, allocations: 10.05 MB / 481.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.288, allocations: 209.1 kB / 481.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.107, allocations: 0 / 481.5 MB, free: 0.9023 MB / 350.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/linux/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) Environment - environmentSimulation: