Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.0007517/0.0007516, allocations: 88.78 kB / 16.65 MB, free: 6.535 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.0008373/0.0008373, allocations: 177.4 kB / 17.56 MB, free: 6.18 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.265/1.265, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1622/0.1622, allocations: 38.05 MB / 310.1 MB, free: 5.922 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.0004791/0.0004791, allocations: 12 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 56.32 MB / 433.6 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003015/0.2121, allocations: 3.818 MB / 437.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2138, allocations: 1.906 MB / 439.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.2139, allocations: 15.88 kB / 439.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2141, allocations: 43.7 kB / 439.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.2146, allocations: 386.7 kB / 439.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2149, allocations: 123.7 kB / 439.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.2154, allocations: 0.8419 MB / 440.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005977/0.216, allocations: 435.6 kB / 441.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.2162, allocations: 175.1 kB / 441.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.2164, allocations: 227.2 kB / 441.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2164, allocations: 12 kB / 441.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.2169, allocations: 0.5261 MB / 442.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.217, allocations: 147.6 kB / 442.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2171, allocations: 161 kB / 442.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.2175, allocations: 0.5101 MB / 442.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2175, allocations: 0 / 442.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2175, allocations: 0 / 442.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2175, allocations: 0 / 442.9 MB, free: 9.309 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0005528/0.2181, allocations: 0.5419 MB / 443.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2181, allocations: 16.03 kB / 443.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.2182, allocations: 62.72 kB / 443.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2192, allocations: 140.4 kB / 443.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.2195, allocations: 283.7 kB / 443.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2195, allocations: 20.92 kB / 443.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2196, allocations: 24.38 kB / 444 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.22, allocations: 447.7 kB / 444.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2201, allocations: 3.906 kB / 444.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.2201, allocations: 11.98 kB / 444.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.2201, allocations: 28.53 kB / 444.4 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.2206, allocations: 429.8 kB / 444.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2222, allocations: 1.718 MB / 446.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.2224, allocations: 298 kB / 446.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2226, allocations: 137.7 kB / 447 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2226, allocations: 7.984 kB / 447 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2227, allocations: 34.94 kB / 447 MB, free: 4.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.2227, allocations: 0 / 447 MB, free: 4.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001419/0.2241, allocations: 0.7873 MB / 447.8 MB, free: 4.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2241, allocations: 81.11 kB / 447.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2243, allocations: 214.8 kB / 448.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2243, allocations: 29.7 kB / 448.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2244, allocations: 184 kB / 448.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.2244, allocations: 78.84 kB / 448.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.2245, allocations: 25.84 kB / 448.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.2245, allocations: 338.8 kB / 448.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2246, allocations: 104.5 kB / 448.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.2248, allocations: 212.9 kB / 449.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.2251, allocations: 337 kB / 449.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2251, allocations: 0 / 449.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000565/0.2257, allocations: 433.7 kB / 449.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2257, allocations: 8 kB / 449.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2257, allocations: 4 kB / 449.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.226, allocations: 85.2 kB / 449.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.2262, allocations: 59.89 kB / 450 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.2276, allocations: 1.803 MB / 451.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.2278, allocations: 19.98 kB / 451.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2278, allocations: 8 kB / 451.8 MB, free: 15.76 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.228, allocations: 181.7 kB / 452 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.2281, allocations: 27.66 kB / 452 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.2287, allocations: 372.1 kB / 452.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2288, allocations: 4 kB / 452.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2288, allocations: 3.938 kB / 452.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2288, allocations: 7.984 kB / 452.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2301, allocations: 0.9175 MB / 453.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2301, allocations: 7.875 kB / 453.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.2303, allocations: 35.97 kB / 453.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/0.2305, allocations: 72.73 kB / 453.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2306, allocations: 4 kB / 453.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.2321, allocations: 1.713 MB / 455.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2321, allocations: 0 / 455.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.2328, allocations: 475.1 kB / 455.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.2328, allocations: 96.83 kB / 455.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.2329, allocations: 4 kB / 455.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.233, allocations: 11.98 kB / 455.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.2331, allocations: 27.91 kB / 455.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2331, allocations: 4 kB / 455.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.2332, allocations: 152.4 kB / 455.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2332, allocations: 0 / 455.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.2337, allocations: 84 kB / 456 MB, free: 11.31 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008539/0.2345, allocations: 0.9936 MB / 457 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00066/0.2352, allocations: 435 kB / 457.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2352, allocations: 4.062 kB / 457.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003906/0.2356, allocations: 278.5 kB / 457.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.236, allocations: 40.45 kB / 457.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.2394, allocations: 3.152 MB / 460.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2397, allocations: 0.8101 MB / 461.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.2399, allocations: 53.91 kB / 461.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.24, allocations: 83.41 kB / 461.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.24, allocations: 0 / 461.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.2554, allocations: 5.213 MB / 467 MB, free: 36 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.2556, allocations: 232.3 kB / 467.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.041, allocations: 3.938 kB / 467.3 MB, free: 15.77 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)