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 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.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.001174/0.001174, allocations: 107.6 kB / 16.92 MB, free: 6.184 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.001144/0.001144, allocations: 191.3 kB / 17.85 MB, free: 5.328 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.163/1.163, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1507/0.1507, allocations: 38.02 MB / 329.7 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 65.95 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08397/0.08516, allocations: 58.06 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003999/0.08919, allocations: 3.437 MB / 460.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.09076, allocations: 1.446 MB / 461.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.09086, allocations: 11.94 kB / 461.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006582/0.09153, allocations: 247 kB / 462.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.09197, allocations: 279 kB / 462.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.09219, allocations: 111.7 kB / 462.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.0925, allocations: 335 kB / 462.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.09274, allocations: 133.9 kB / 462.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.09292, allocations: 151.4 kB / 463.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.09311, allocations: 155.4 kB / 463.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.09314, allocations: 12 kB / 463.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.09352, allocations: 311.2 kB / 463.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.09362, allocations: 95.77 kB / 463.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.954e-05/0.09373, allocations: 111.5 kB / 463.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.09407, allocations: 339 kB / 464.1 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09409, allocations: 3.938 kB / 464.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09409, allocations: 0 / 464.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.0941, allocations: 0 / 464.1 MB, free: 0.7891 MB / 334.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.0005467/0.09466, allocations: 0.5065 MB / 464.6 MB, free: 240 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.0947, allocations: 15.89 kB / 464.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.09475, allocations: 58.67 kB / 464.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007367/0.09549, allocations: 92.55 kB / 464.8 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.09575, allocations: 254.4 kB / 465 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.09578, allocations: 24.25 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.09582, allocations: 19.92 kB / 465 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.09622, allocations: 310.4 kB / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.09624, allocations: 4 kB / 465.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.09627, allocations: 15.92 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.09631, allocations: 15.98 kB / 465.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.09669, allocations: 287.8 kB / 465.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.09814, allocations: 1.293 MB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.09866, allocations: 205.2 kB / 467.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.09875, allocations: 61.69 kB / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.09878, allocations: 4.219 kB / 467.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.09881, allocations: 42.44 kB / 467.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.09882, allocations: 0 / 467.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008433/0.09967, allocations: 426.8 kB / 467.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.09972, allocations: 81.11 kB / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.09989, allocations: 198.5 kB / 468 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.09991, allocations: 25.7 kB / 468 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.1, allocations: 155.8 kB / 468.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1, allocations: 55.28 kB / 468.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.1001, allocations: 49.61 kB / 468.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1002, allocations: 330.8 kB / 468.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.1003, allocations: 51.97 kB / 468.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1005, allocations: 157.6 kB / 468.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1007, allocations: 236.6 kB / 469 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1007, allocations: 4 kB / 469 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003981/0.1011, allocations: 258 kB / 469.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1012, allocations: 10.34 kB / 469.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1012, allocations: 4 kB / 469.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.1014, allocations: 44.81 kB / 469.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1015, allocations: 44.34 kB / 469.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009767/0.1025, allocations: 1.441 MB / 470.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1026, allocations: 12 kB / 470.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1027, allocations: 12 kB / 470.8 MB, free: 9.477 MB / 350.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.0001155/0.1028, allocations: 157.7 kB / 471 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.1028, allocations: 23.69 kB / 471 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.1031, allocations: 192 kB / 471.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1032, allocations: 4 kB / 471.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1032, allocations: 0 / 471.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1032, allocations: 0 / 471.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1039, allocations: 0.564 MB / 471.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1039, allocations: 3.938 kB / 471.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.104, allocations: 20 kB / 471.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.1041, allocations: 36.77 kB / 471.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1041, allocations: 3.984 kB / 471.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008956/0.105, allocations: 1.43 MB / 473.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.105, allocations: 0 / 473.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.1054, allocations: 299.5 kB / 473.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1054, allocations: 92.98 kB / 473.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1055, allocations: 7.984 kB / 473.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.1056, allocations: 7.938 kB / 473.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.1056, allocations: 15.92 kB / 473.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1056, allocations: 8 kB / 473.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.1057, allocations: 140.3 kB / 473.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.272e-06/0.1057, allocations: 0 / 473.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.106, allocations: 55.94 kB / 473.9 MB, free: 6.164 MB / 350.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.0005998/0.1067, allocations: 0.8335 MB / 474.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.1071, allocations: 270.4 kB / 474.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1071, allocations: 0 / 474.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1073, allocations: 175.5 kB / 475.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1077, allocations: 46.53 kB / 475.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1101, allocations: 2.353 MB / 477.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1103, allocations: 0.7632 MB / 478.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1105, allocations: 33.52 kB / 478.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1105, allocations: 59.42 kB / 478.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1105, allocations: 0 / 478.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/1.371, allocations: 3.797 MB / 482.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.65, allocations: 8.062 kB / 482.2 MB, free: 13.63 MB / 366.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)