Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.00148, allocations: 180.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 86.7 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2632/0.2632, allocations: 37.99 MB / 347.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.495e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 56.33 MB / 466.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5839, allocations: 93.24 MB / 0.5464 GB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5842, allocations: 85.97 kB / 0.5465 GB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04691/0.6311, allocations: 13.09 MB / 0.5593 GB, free: 5.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6312, allocations: 0 / 0.5593 GB, free: 5.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.6312, allocations: 3.844 kB / 0.5593 GB, free: 5.781 MB / 362.7 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.0007607/0.632, allocations: 486.6 kB / 0.5597 GB, free: 5.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.632, allocations: 7.406 kB / 0.5597 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6333, allocations: 104.5 kB / 0.5598 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.6338, allocations: 262.9 kB / 0.5601 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.6339, allocations: 3.844 kB / 0.5601 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.6339, allocations: 15.31 kB / 0.5601 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004572/0.6344, allocations: 193 kB / 0.5603 GB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.6349, allocations: 285.8 kB / 0.5606 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.6349, allocations: 0 / 0.5606 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.635, allocations: 0 / 0.5606 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.6351, allocations: 23.36 kB / 0.5606 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.6372, allocations: 1.254 MB / 0.5618 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.6377, allocations: 155.5 kB / 0.562 GB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6378, allocations: 49.58 kB / 0.562 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.6378, allocations: 4 kB / 0.562 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6379, allocations: 38.19 kB / 0.562 GB, free: 3.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/0.6379, allocations: 0 / 0.562 GB, free: 3.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008571/0.6388, allocations: 263.1 kB / 0.5623 GB, free: 3.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.6388, allocations: 81.11 kB / 0.5624 GB, free: 3.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.639, allocations: 151 kB / 0.5625 GB, free: 2.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.639, allocations: 29.7 kB / 0.5625 GB, free: 2.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.6391, allocations: 230.9 kB / 0.5628 GB, free: 2.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.6392, allocations: 54.11 kB / 0.5628 GB, free: 2.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.6392, allocations: 0 / 0.5628 GB, free: 2.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.6392, allocations: 317.4 kB / 0.5631 GB, free: 2.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.6394, allocations: 41.17 kB / 0.5632 GB, free: 2.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.6395, allocations: 140.6 kB / 0.5633 GB, free: 2.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.6397, allocations: 74.7 kB / 0.5634 GB, free: 2.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6397, allocations: 0 / 0.5634 GB, free: 2.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005865/0.6403, allocations: 229.9 kB / 0.5636 GB, free: 1.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6403, allocations: 4 kB / 0.5636 GB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6403, allocations: 4 kB / 0.5636 GB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.6407, allocations: 38.45 kB / 0.5636 GB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.6409, allocations: 43.92 kB / 0.5637 GB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.6421, allocations: 1.281 MB / 0.5649 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.6423, allocations: 11.98 kB / 0.5649 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.6424, allocations: 19.03 kB / 0.5649 GB, free: 452 kB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.114e-05/0.6425, allocations: 112.8 kB / 0.5651 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004243/0.6429, allocations: 161.4 kB / 0.5652 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.643, allocations: 15.81 kB / 0.5652 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.6434, allocations: 172.6 kB / 0.5654 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6434, allocations: 4.031 kB / 0.5654 GB, free: 24 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6435, allocations: 4 kB / 0.5654 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6435, allocations: 0 / 0.5654 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6446, allocations: 0.4973 MB / 0.5659 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.6447, allocations: 8.094 kB / 0.5659 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.6448, allocations: 19.98 kB / 0.5659 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/0.6451, allocations: 32.39 kB / 0.5659 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6451, allocations: 4 kB / 0.5659 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.6464, allocations: 1.269 MB / 0.5672 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6464, allocations: 4.031 kB / 0.5672 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.647, allocations: 332.5 kB / 0.5675 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.6471, allocations: 92.92 kB / 0.5676 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.6472, allocations: 4 kB / 0.5676 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.6474, allocations: 7.984 kB / 0.5676 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.6474, allocations: 11.8 kB / 0.5676 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.6474, allocations: 4 kB / 0.5676 GB, free: 13.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.6476, allocations: 126.7 kB / 0.5677 GB, free: 13.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6476, allocations: 3.938 kB / 0.5677 GB, free: 13.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.6482, allocations: 51.94 kB / 0.5678 GB, free: 13.48 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009666/0.6492, allocations: 1.134 MB / 0.5689 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.6499, allocations: 240.7 kB / 0.5691 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6499, allocations: 0.875 kB / 0.5691 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.6502, allocations: 167.6 kB / 0.5693 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.6506, allocations: 35.42 kB / 0.5693 GB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.6518, allocations: 395.1 kB / 0.5697 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.6522, allocations: 0.765 MB / 0.5704 GB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.6524, allocations: 56.48 kB / 0.5705 GB, free: 10.71 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6524, allocations: 0 / 0.5705 GB, free: 10.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.971/3.624, allocations: 4.03 MB / 0.5744 GB, free: 6.703 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)