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.001074/0.001074, allocations: 106.1 kB / 16.51 MB, free: 6.645 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.001158/0.001158, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.381/1.381, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1719/0.1719, allocations: 38 MB / 308.6 MB, free: 6.242 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.001612/0.001612, allocations: 63.91 kB / 374.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2224, allocations: 55.25 MB / 430 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005312/0.2278, allocations: 5.13 MB / 435.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.2302, allocations: 1.769 MB / 436.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.2306, allocations: 31.81 kB / 436.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.2314, allocations: 268.8 kB / 437.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.2318, allocations: 239 kB / 437.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.2324, allocations: 235.6 kB / 437.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.2329, allocations: 0.8886 MB / 438.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.2333, allocations: 269.1 kB / 438.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.2336, allocations: 254.9 kB / 439 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.234, allocations: 386.8 kB / 439.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.2341, allocations: 28 kB / 439.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.2343, allocations: 155.7 kB / 439.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2345, allocations: 235.4 kB / 439.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2347, allocations: 254.6 kB / 440.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.2351, allocations: 0.6385 MB / 440.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2351, allocations: 0 / 440.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2351, allocations: 0 / 440.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2352, allocations: 0 / 440.7 MB, free: 8.996 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.001571/0.2367, allocations: 0.875 MB / 441.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2368, allocations: 8.031 kB / 441.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.2369, allocations: 94.64 kB / 441.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.2374, allocations: 84.23 kB / 441.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.2381, allocations: 491.8 kB / 442.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.2381, allocations: 29.38 kB / 442.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.2382, allocations: 51.84 kB / 442.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.2389, allocations: 0.6884 MB / 443 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.239, allocations: 11.98 kB / 443 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.239, allocations: 20 kB / 443 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-05/0.2391, allocations: 28.98 kB / 443.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.2398, allocations: 0.5267 MB / 443.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.2424, allocations: 3.11 MB / 446.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.2429, allocations: 325.2 kB / 447 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.2431, allocations: 173.7 kB / 447.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2431, allocations: 4.5 kB / 447.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2431, allocations: 38.5 kB / 447.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.2431, allocations: 0 / 447.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001609/0.2448, allocations: 1.219 MB / 448.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2448, allocations: 81.11 kB / 448.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.2451, allocations: 389.5 kB / 448.9 MB, free: 368 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2451, allocations: 29.7 kB / 448.9 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2453, allocations: 299.2 kB / 449.2 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.2454, allocations: 122.4 kB / 449.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2455, allocations: 102.1 kB / 449.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2457, allocations: 358.7 kB / 449.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.246, allocations: 197 kB / 450 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.2464, allocations: 382.9 kB / 450.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.2471, allocations: 0.6009 MB / 451 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2471, allocations: 0 / 451 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001802/0.2489, allocations: 0.8336 MB / 451.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2489, allocations: 8 kB / 451.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2489, allocations: 4.625 kB / 451.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.2502, allocations: 265.3 kB / 452.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.2508, allocations: 143.8 kB / 452.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/0.2551, allocations: 3.75 MB / 456 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.2555, allocations: 27.98 kB / 456 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2556, allocations: 23.98 kB / 456 MB, free: 8.75 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 (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.0002696/0.2559, allocations: 241.5 kB / 456.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.256, allocations: 35.53 kB / 456.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.2567, allocations: 481.1 kB / 456.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2567, allocations: 4 kB / 456.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.2567, allocations: 0 / 456.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2567, allocations: 0 / 456.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.258, allocations: 1.023 MB / 457.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2581, allocations: 0 / 457.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.2585, allocations: 83.88 kB / 457.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2585, allocations: 4 kB / 457.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.2586, allocations: 15.98 kB / 457.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2586, allocations: 7.938 kB / 457.9 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2586, allocations: 4.062 kB / 457.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.2595, allocations: 0.7355 MB / 458.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.2596, allocations: 116.7 kB / 458.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.2596, allocations: 12.06 kB / 458.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2599, allocations: 19.98 kB / 458.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.2599, allocations: 35.83 kB / 458.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.26, allocations: 15.98 kB / 458.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.2602, allocations: 275.1 kB / 459.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2602, allocations: 0 / 459.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000523/0.2608, allocations: 116.1 kB / 459.2 MB, free: 5.43 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 (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.001129/0.2619, allocations: 1.288 MB / 460.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2633, allocations: 0.7942 MB / 461.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2633, allocations: 0 / 461.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2636, allocations: 204.3 kB / 461.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.2641, allocations: 85.53 kB / 461.6 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.273, allocations: 5.52 MB / 467.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.2736, allocations: 0.8976 MB / 468 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005123/0.2741, allocations: 135.3 kB / 468.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.2744, allocations: 167.4 kB / 468.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 1.723e-06/0.2744, allocations: 0 / 468.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2981, allocations: 10.07 MB / 478.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.2983, allocations: 226.2 kB / 478.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.299, allocations: 0 / 478.6 MB, free: 1.668 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/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)