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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001274/0.001275, allocations: 109.6 kB / 16.92 MB, free: 6.145 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.00127/0.00127, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.16/0.16, allocations: 38.03 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.77 kB / 398.9 MB, free: 33.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07426/0.0754, allocations: 58.07 MB / 457 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004398/0.07984, allocations: 3.933 MB / 460.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.08193, allocations: 1.83 MB / 462.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.08208, allocations: 4 kB / 462.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.08295, allocations: 362.6 kB / 463.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.08366, allocations: 402.5 kB / 463.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.08395, allocations: 151.6 kB / 463.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.08439, allocations: 494.6 kB / 464.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.08469, allocations: 203.1 kB / 464.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.08496, allocations: 215.1 kB / 464.5 MB, free: 352 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.08523, allocations: 235.1 kB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.08528, allocations: 24 kB / 464.8 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.08585, allocations: 435 kB / 465.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.08599, allocations: 159.6 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.08614, allocations: 155.3 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.08665, allocations: 498.6 kB / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.08666, allocations: 4 kB / 466 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08667, allocations: 0 / 466 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.08668, allocations: 0 / 466 MB, free: 14.86 MB / 350.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.0006542/0.08734, allocations: 0.5887 MB / 466.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.08737, allocations: 15.88 kB / 466.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.08744, allocations: 66.73 kB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.08848, allocations: 132.4 kB / 466.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.08878, allocations: 291.7 kB / 467.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.0888, allocations: 12.94 kB / 467.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.08886, allocations: 28.38 kB / 467.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.08941, allocations: 447.7 kB / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.08943, allocations: 0 / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.08946, allocations: 12 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.0895, allocations: 24.48 kB / 467.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.09004, allocations: 433.8 kB / 468 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.09185, allocations: 1.717 MB / 469.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.09217, allocations: 290.1 kB / 470 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.09234, allocations: 137.8 kB / 470.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.09238, allocations: 4 kB / 470.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.0924, allocations: 34.94 kB / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.09241, allocations: 4 kB / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001518/0.09393, allocations: 0.7915 MB / 471 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.09398, allocations: 85.11 kB / 471.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.09414, allocations: 207 kB / 471.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.09417, allocations: 29.7 kB / 471.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.09426, allocations: 187.9 kB / 471.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.09432, allocations: 82.95 kB / 471.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.0944, allocations: 61.89 kB / 471.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.09449, allocations: 326.8 kB / 472 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.09464, allocations: 108.5 kB / 472.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.09483, allocations: 212.9 kB / 472.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.09519, allocations: 335.8 kB / 472.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.0952, allocations: 4 kB / 472.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006564/0.09586, allocations: 424.9 kB / 473 MB, free: 7.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09588, allocations: 12.34 kB / 473 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.09589, allocations: 4 kB / 473 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.09623, allocations: 92.72 kB / 473.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.09643, allocations: 55.91 kB / 473.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.09811, allocations: 1.998 MB / 475.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.09826, allocations: 19.98 kB / 475.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.0983, allocations: 16 kB / 475.2 MB, free: 5.051 MB / 350.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.0001388/0.09844, allocations: 173.7 kB / 475.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.09849, allocations: 23.72 kB / 475.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.09911, allocations: 384.9 kB / 475.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.09913, allocations: 4 kB / 475.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.09914, allocations: 3.984 kB / 475.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.09915, allocations: 4 kB / 475.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.1004, allocations: 0.9241 MB / 476.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1004, allocations: 0 / 476.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1006, allocations: 39.97 kB / 476.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.1008, allocations: 68.86 kB / 476.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1008, allocations: 4 kB / 476.8 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.1024, allocations: 1.912 MB / 478.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1024, allocations: 8.031 kB / 478.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.103, allocations: 458.4 kB / 479.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.103, allocations: 104.8 kB / 479.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1031, allocations: 4 kB / 479.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1032, allocations: 11.98 kB / 479.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1033, allocations: 23.86 kB / 479.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1033, allocations: 8 kB / 479.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1034, allocations: 148.6 kB / 479.5 MB, free: 500 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1034, allocations: 4 kB / 479.5 MB, free: 496 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.1038, allocations: 84 kB / 479.6 MB, free: 412 kB / 350.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.0007882/0.1046, allocations: 0.9926 MB / 480.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1053, allocations: 462.8 kB / 481 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1053, allocations: 0 / 481 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.1057, allocations: 274.5 kB / 481.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.106, allocations: 39.92 kB / 481.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1091, allocations: 3.002 MB / 484.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1094, allocations: 0.8102 MB / 485.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1096, allocations: 53.91 kB / 485.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1097, allocations: 83.41 kB / 485.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1097, allocations: 0 / 485.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.907/2.016, allocations: 5.569 MB / 490.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.65, allocations: 1.641 kB / 490.8 MB, free: 4.941 MB / 366.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)