Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.001134/0.001134, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001143/0.001143, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.375/1.375, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1659/0.1659, allocations: 37.98 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.001319/0.001319, allocations: 75.84 kB / 374.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2253, allocations: 55.23 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002899/0.2282, allocations: 2.086 MB / 432 MB, free: 17.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006375/0.2289, allocations: 0.5738 MB / 432.6 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.2289, allocations: 0 / 432.6 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2291, allocations: 11.92 kB / 432.6 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2292, allocations: 27.89 kB / 432.7 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.2295, allocations: 63.84 kB / 432.7 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.521e-05/0.2296, allocations: 111.6 kB / 432.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.2296, allocations: 4 kB / 432.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.2297, allocations: 27.86 kB / 432.9 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.2297, allocations: 27.91 kB / 432.9 MB, free: 16.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2298, allocations: 4 kB / 432.9 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2299, allocations: 79.83 kB / 433 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.23, allocations: 15.92 kB / 433 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.23, allocations: 23.8 kB / 433 MB, free: 16.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2301, allocations: 106 kB / 433.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2302, allocations: 4 kB / 433.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2302, allocations: 0 / 433.1 MB, free: 16.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2302, allocations: 0 / 433.1 MB, free: 16.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003084/0.2305, allocations: 400.9 kB / 433.5 MB, free: 16.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2305, allocations: 16.03 kB / 433.5 MB, free: 16.11 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.2306, allocations: 38.67 kB / 433.6 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.2306, allocations: 8.844 kB / 433.6 MB, free: 16.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2307, allocations: 180.2 kB / 433.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2308, allocations: 4.375 kB / 433.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2308, allocations: 3.938 kB / 433.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2309, allocations: 61.62 kB / 433.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.2309, allocations: 4 kB / 433.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.2309, allocations: 0 / 433.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2309, allocations: 0 / 433.8 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.2309, allocations: 39.92 kB / 433.9 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.448e-05/0.231, allocations: 161.7 kB / 434 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.2311, allocations: 58.5 kB / 434.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.2312, allocations: 40.89 kB / 434.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.2312, allocations: 3.984 kB / 434.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2312, allocations: 34.56 kB / 434.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.2312, allocations: 0 / 434.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002023/0.2314, allocations: 179.2 kB / 434.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2314, allocations: 93.09 kB / 434.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.2315, allocations: 121.5 kB / 434.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.2315, allocations: 29.7 kB / 434.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.347e-05/0.2315, allocations: 96.06 kB / 434.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.2316, allocations: 31.45 kB / 434.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.2316, allocations: 21.72 kB / 434.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.2317, allocations: 322.8 kB / 435 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.2317, allocations: 32.02 kB / 435.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.2317, allocations: 27.98 kB / 435.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.2318, allocations: 152.2 kB / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2319, allocations: 0 / 435.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001092/0.232, allocations: 159.1 kB / 435.4 MB, free: 14.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.232, allocations: 41.69 kB / 435.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.232, allocations: 0 / 435.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.232, allocations: 7.938 kB / 435.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.232, allocations: 0 / 435.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2321, allocations: 64 / 435.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.2321, allocations: 15.84 kB / 435.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.2321, allocations: 4 kB / 435.5 MB, free: 13.96 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 7.136e-05/0.2322, allocations: 167.4 kB / 435.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.2322, allocations: 11.91 kB / 435.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.035e-05/0.2322, allocations: 8.375 kB / 435.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2322, allocations: 0 / 435.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2322, allocations: 0 / 435.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2322, allocations: 0 / 435.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.951e-05/0.2323, allocations: 173.6 kB / 435.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.2323, allocations: 4 kB / 435.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2323, allocations: 0 / 435.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2323, allocations: 4 kB / 435.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2323, allocations: 0 / 435.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.2323, allocations: 0 / 435.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2323, allocations: 0 / 435.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.2326, allocations: 286.3 kB / 436.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.2326, allocations: 92.95 kB / 436.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2326, allocations: 8.031 kB / 436.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.2326, allocations: 4 kB / 436.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2327, allocations: 7.938 kB / 436.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2327, allocations: 0 / 436.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.2327, allocations: 95.27 kB / 436.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2327, allocations: 0 / 436.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.2329, allocations: 32 kB / 436.3 MB, free: 12.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.0004057/0.2333, allocations: 0.8287 MB / 437.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.2336, allocations: 287.3 kB / 437.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2336, allocations: 7.938 kB / 437.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2337, allocations: 215.3 kB / 437.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.234, allocations: 16.5 kB / 437.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2353, allocations: 1.784 MB / 439.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2354, allocations: 0.7004 MB / 440.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.2354, allocations: 0 / 440.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.2355, allocations: 22.98 kB / 440.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2355, allocations: 0 / 440.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2465, allocations: 2.334 MB / 442.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001272/0.2466, allocations: 202.7 kB / 442.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.97, allocations: 8 kB / 442.7 MB, free: 6.391 MB / 318.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)