Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001181/0.001181, allocations: 105.2 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.001196/0.001196, allocations: 188.1 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.369/1.369, 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.1678/0.1678, allocations: 37.99 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.001343/0.001343, allocations: 67.03 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2267, allocations: 55.25 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003571/0.2303, allocations: 3.677 MB / 433.6 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2317, allocations: 1.556 MB / 435.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2318, allocations: 11.94 kB / 435.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.2324, allocations: 235.1 kB / 435.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.2328, allocations: 263.2 kB / 435.7 MB, free: 14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.233, allocations: 99.75 kB / 435.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.2333, allocations: 0.5612 MB / 436.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.2336, allocations: 138 kB / 436.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.2337, allocations: 131.3 kB / 436.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.2339, allocations: 163.5 kB / 436.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2339, allocations: 8 kB / 436.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.2343, allocations: 383.1 kB / 437.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.466e-05/0.2344, allocations: 99.7 kB / 437.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.2345, allocations: 103.5 kB / 437.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2348, allocations: 363 kB / 437.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2348, allocations: 0 / 437.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2348, allocations: 0 / 437.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2348, allocations: 0 / 437.7 MB, free: 11.98 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004935/0.2353, allocations: 0.5181 MB / 438.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2354, allocations: 8.031 kB / 438.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.2354, allocations: 54.73 kB / 438.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.2362, allocations: 92.55 kB / 438.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.2364, allocations: 264.4 kB / 438.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2364, allocations: 12.12 kB / 438.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.2365, allocations: 16 kB / 438.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.2368, allocations: 322.3 kB / 439 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2368, allocations: 3.938 kB / 439 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.2369, allocations: 8 kB / 439 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.2369, allocations: 12 kB / 439 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.2372, allocations: 287.8 kB / 439.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2384, allocations: 1.297 MB / 440.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.2389, allocations: 217 kB / 440.8 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.2389, allocations: 57.75 kB / 440.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.239, allocations: 4 kB / 440.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.239, allocations: 38.5 kB / 440.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.239, allocations: 0 / 440.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007419/0.2397, allocations: 426.3 kB / 441.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2398, allocations: 81.11 kB / 441.4 MB, free: 8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2399, allocations: 194.3 kB / 441.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2399, allocations: 25.7 kB / 441.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.24, allocations: 167.7 kB / 441.8 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.24, allocations: 43.36 kB / 441.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.2401, allocations: 45.92 kB / 441.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.2401, allocations: 330.8 kB / 442.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.2402, allocations: 59.88 kB / 442.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.2403, allocations: 152.8 kB / 442.4 MB, free: 6.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2405, allocations: 228.1 kB / 442.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2405, allocations: 4 kB / 442.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00034/0.2408, allocations: 261.9 kB / 442.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2408, allocations: 8 kB / 442.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2409, allocations: 7.938 kB / 442.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.2411, allocations: 41.27 kB / 442.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2412, allocations: 43.86 kB / 443 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.242, allocations: 1.343 MB / 444.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2421, allocations: 8 kB / 444.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2422, allocations: 16 kB / 444.3 MB, free: 4.781 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2423, allocations: 153.8 kB / 444.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.2423, allocations: 15.81 kB / 444.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.2426, allocations: 192 kB / 444.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2426, allocations: 4 kB / 444.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2426, allocations: 0 / 444.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2426, allocations: 0 / 444.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.2433, allocations: 0.5639 MB / 445.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2433, allocations: 4 kB / 445.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.2434, allocations: 23.98 kB / 445.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.2435, allocations: 32.83 kB / 445.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2435, allocations: 0 / 445.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/0.2442, allocations: 1.319 MB / 446.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2442, allocations: 0 / 446.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2444, allocations: 311.5 kB / 446.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.2445, allocations: 88.92 kB / 447 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.2445, allocations: 4 kB / 447 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.2446, allocations: 4 kB / 447 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.2446, allocations: 15.98 kB / 447.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2447, allocations: 15.98 kB / 447.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.2447, allocations: 144.1 kB / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2447, allocations: 0 / 447.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.2451, allocations: 55.94 kB / 447.3 MB, free: 1.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004065/0.2455, allocations: 0.8297 MB / 448.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.2459, allocations: 270.7 kB / 448.4 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2459, allocations: 0 / 448.4 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2461, allocations: 174.6 kB / 448.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2464, allocations: 28.44 kB / 448.6 MB, free: 232 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.2489, allocations: 2.449 MB / 451 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2493, allocations: 0.7671 MB / 451.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.2494, allocations: 37.52 kB / 451.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.2495, allocations: 63.34 kB / 451.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2495, allocations: 0 / 451.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.2635, allocations: 3.621 MB / 455.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.2637, allocations: 224 kB / 455.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.039, allocations: 0 / 455.7 MB, free: 8.824 MB / 334.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)