Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001244/0.001243, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001295/0.001295, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.368/1.368, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.175/0.175, allocations: 38 MB / 308.6 MB, free: 6.234 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.001552/0.001553, allocations: 67.91 kB / 374.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2291, allocations: 55.24 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002925/0.2321, allocations: 2.082 MB / 432 MB, free: 17.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.2328, allocations: 0.5776 MB / 432.6 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.2329, allocations: 0 / 432.6 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.233, allocations: 11.92 kB / 432.6 MB, free: 17.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.2331, allocations: 27.89 kB / 432.7 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.2334, allocations: 55.86 kB / 432.7 MB, free: 16.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.2335, allocations: 107.8 kB / 432.8 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.2335, allocations: 7.938 kB / 432.8 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.006e-05/0.2336, allocations: 35.84 kB / 432.9 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.2336, allocations: 31.84 kB / 432.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.2337, allocations: 0 / 432.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.2338, allocations: 75.84 kB / 433 MB, free: 16.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.2339, allocations: 27.91 kB / 433 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.2339, allocations: 31.69 kB / 433 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.234, allocations: 129.8 kB / 433.2 MB, free: 16.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2341, allocations: 0 / 433.2 MB, free: 16.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2341, allocations: 0 / 433.2 MB, free: 16.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2341, allocations: 0 / 433.2 MB, free: 16.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002957/0.2344, allocations: 448.6 kB / 433.6 MB, free: 16.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2344, allocations: 12.03 kB / 433.6 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.2345, allocations: 42.73 kB / 433.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.2345, allocations: 12.75 kB / 433.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2346, allocations: 184.2 kB / 433.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.2346, allocations: 384 / 433.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2347, allocations: 3.938 kB / 433.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2348, allocations: 89.67 kB / 433.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2348, allocations: 4 kB / 433.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2348, allocations: 4 kB / 433.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2348, allocations: 0 / 433.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.2349, allocations: 55.98 kB / 434 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.235, allocations: 177.5 kB / 434.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.2351, allocations: 106.4 kB / 434.3 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.2351, allocations: 92.84 kB / 434.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.2352, allocations: 0 / 434.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.2352, allocations: 38.56 kB / 434.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 9.72e-07/0.2352, allocations: 0 / 434.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003237/0.2355, allocations: 300.8 kB / 434.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2356, allocations: 97.09 kB / 434.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.2356, allocations: 134.9 kB / 434.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.2357, allocations: 25.7 kB / 434.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.2357, allocations: 96.56 kB / 435 MB, free: 14.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2357, allocations: 74.84 kB / 435.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.2358, allocations: 25.72 kB / 435.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2359, allocations: 330.8 kB / 435.5 MB, free: 14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.2359, allocations: 55.98 kB / 435.5 MB, free: 13.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.236, allocations: 63.83 kB / 435.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2361, allocations: 240 kB / 435.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2361, allocations: 3.938 kB / 435.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001607/0.2363, allocations: 223.2 kB / 436 MB, free: 13.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.2363, allocations: 65.59 kB / 436.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2363, allocations: 0 / 436.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2364, allocations: 7.875 kB / 436.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2364, allocations: 8.062 kB / 436.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2364, allocations: 0 / 436.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.2364, allocations: 11.84 kB / 436.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2364, allocations: 7.984 kB / 436.1 MB, free: 13.29 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2365, allocations: 195.4 kB / 436.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.2366, allocations: 15.81 kB / 436.3 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.235e-05/0.2366, allocations: 9.188 kB / 436.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2366, allocations: 4 kB / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2366, allocations: 0 / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2366, allocations: 4 kB / 436.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.676e-05/0.2367, allocations: 209.4 kB / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2367, allocations: 0 / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.2367, allocations: 0 / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2367, allocations: 0 / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2367, allocations: 4 kB / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.2367, allocations: 0 / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2367, allocations: 0 / 436.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.2371, allocations: 0.514 MB / 437.1 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2372, allocations: 92.86 kB / 437.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2372, allocations: 4 kB / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.2372, allocations: 8 kB / 437.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2372, allocations: 4 kB / 437.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2373, allocations: 4 kB / 437.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.2373, allocations: 106.4 kB / 437.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2373, allocations: 0 / 437.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.2375, allocations: 48 kB / 437.3 MB, free: 11.98 MB / 318.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0005813/0.2381, allocations: 1.055 MB / 438.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004191/0.2386, allocations: 0.7022 MB / 439.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2386, allocations: 0 / 439.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.2388, allocations: 0.5657 MB / 439.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.2391, allocations: 24.66 kB / 439.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.2408, allocations: 2.484 MB / 442.2 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2409, allocations: 0.7242 MB / 442.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.241, allocations: 3.938 kB / 442.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.241, allocations: 35.36 kB / 442.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.241, allocations: 4 kB / 442.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.2535, allocations: 3.258 MB / 446.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.2537, allocations: 214.7 kB / 446.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.981, allocations: 0 / 446.4 MB, free: 2.711 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)