Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.002249/0.002248, allocations: 181.2 kB / 8.012 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.026/2.026, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.001082/0.001081, allocations: 86.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2643/0.2643, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.664e-05, allocations: 4 kB / 409.9 MB, free: 35.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 56.33 MB / 466.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/0.6453, allocations: 93.24 MB / 0.5464 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6456, allocations: 83.73 kB / 0.5465 GB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.6917, allocations: 13.1 MB / 0.5593 GB, free: 5.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6918, allocations: 4 kB / 0.5593 GB, free: 5.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.6918, allocations: 3.719 kB / 0.5593 GB, free: 5.695 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.0006983/0.6925, allocations: 485.3 kB / 0.5597 GB, free: 5.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6926, allocations: 7.719 kB / 0.5597 GB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6938, allocations: 104.2 kB / 0.5598 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.6942, allocations: 260.8 kB / 0.5601 GB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6942, allocations: 14.78 kB / 0.5601 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.6943, allocations: 15.41 kB / 0.5601 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004525/0.6948, allocations: 193.1 kB / 0.5603 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.6953, allocations: 273.5 kB / 0.5606 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6953, allocations: 0 / 0.5606 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.6954, allocations: 0 / 0.5606 GB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.6955, allocations: 31.84 kB / 0.5606 GB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.6974, allocations: 1.238 MB / 0.5618 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.6979, allocations: 222.1 kB / 0.562 GB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.698, allocations: 47.52 kB / 0.5621 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.698, allocations: 0 / 0.5621 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6981, allocations: 42.56 kB / 0.5621 GB, free: 3.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.354e-06/0.6981, allocations: 0 / 0.5621 GB, free: 3.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006253/0.6987, allocations: 226.2 kB / 0.5623 GB, free: 3.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6988, allocations: 81.11 kB / 0.5624 GB, free: 2.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.6989, allocations: 151.7 kB / 0.5625 GB, free: 2.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.6989, allocations: 25.7 kB / 0.5626 GB, free: 2.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.699, allocations: 228.1 kB / 0.5628 GB, free: 2.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.6991, allocations: 50.17 kB / 0.5628 GB, free: 2.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.6991, allocations: 0 / 0.5628 GB, free: 2.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.6992, allocations: 318.3 kB / 0.5631 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6993, allocations: 45.58 kB / 0.5632 GB, free: 2.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.6994, allocations: 125.2 kB / 0.5633 GB, free: 2.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.6996, allocations: 72.91 kB / 0.5634 GB, free: 2.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6996, allocations: 4 kB / 0.5634 GB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003594/0.7, allocations: 182.1 kB / 0.5635 GB, free: 1.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7, allocations: 8 kB / 0.5635 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-06/0.7, allocations: 4.438 kB / 0.5636 GB, free: 1.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7, allocations: 8 kB / 0.5636 GB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.7003, allocations: 50.84 kB / 0.5636 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7003, allocations: 4 kB / 0.5636 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.7005, allocations: 4 kB / 0.5636 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.7006, allocations: 11.94 kB / 0.5636 GB, free: 1.773 MB / 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.7006, allocations: 112.7 kB / 0.5637 GB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002468/0.7009, allocations: 129 kB / 0.5639 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.701, allocations: 15.81 kB / 0.5639 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.7013, allocations: 135 kB / 0.564 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7013, allocations: 0 / 0.564 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7013, allocations: 4 kB / 0.564 GB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.7013, allocations: 3.984 kB / 0.564 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.7023, allocations: 0.5918 MB / 0.5646 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7023, allocations: 4 kB / 0.5646 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.7025, allocations: 27.92 kB / 0.5646 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.7025, allocations: 8.484 kB / 0.5646 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.7025, allocations: 11.98 kB / 0.5646 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.7025, allocations: 7.953 kB / 0.5646 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7026, allocations: 4 kB / 0.5646 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.7029, allocations: 489.5 kB / 0.5651 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.703, allocations: 100.2 kB / 0.5652 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.703, allocations: 4 kB / 0.5652 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.7033, allocations: 4 kB / 0.5652 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.7033, allocations: 23.62 kB / 0.5652 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.7034, allocations: 8 kB / 0.5653 GB, free: 24 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.7035, allocations: 132.3 kB / 0.5654 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.665e-06/0.7035, allocations: 0 / 0.5654 GB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.7041, allocations: 51.88 kB / 0.5654 GB, free: 15.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.7053, allocations: 1.978 MB / 0.5674 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.7057, allocations: 110.4 kB / 0.5675 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.7057, allocations: 4 kB / 0.5675 GB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.7059, allocations: 55.03 kB / 0.5675 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.7063, allocations: 34.94 kB / 0.5676 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.7076, allocations: 456.8 kB / 0.568 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.7081, allocations: 0.766 MB / 0.5687 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.7082, allocations: 61.16 kB / 0.5688 GB, free: 12.34 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7082, allocations: 0 / 0.5688 GB, free: 12.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.538/3.247, allocations: 3.179 MB / 0.5719 GB, free: 9.199 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)