Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001479/0.001479, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.2 MB / 218.9 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001131, allocations: 92.44 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.278/0.278, allocations: 37.96 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.548e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 56.32 MB / 473.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.6169, allocations: 93.96 MB / 0.5539 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.6173, allocations: 83.95 kB / 0.554 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07599/0.6933, allocations: 17.91 MB / 0.5714 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6934, allocations: 0 / 0.5714 GB, free: 7.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.6934, allocations: 7.984 kB / 0.5715 GB, free: 7.504 MB / 410.7 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.001196/0.6946, allocations: 0.5535 MB / 0.572 GB, free: 6.906 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.6947, allocations: 8.031 kB / 0.572 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.6948, allocations: 62.55 kB / 0.5721 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.6968, allocations: 139.4 kB / 0.5722 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.6976, allocations: 299.7 kB / 0.5725 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.6976, allocations: 16.56 kB / 0.5725 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.6977, allocations: 31.98 kB / 0.5725 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6988, allocations: 432.6 kB / 0.5729 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.6988, allocations: 0 / 0.5729 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.6989, allocations: 7.984 kB / 0.5729 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.6992, allocations: 44.45 kB / 0.573 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.7003, allocations: 409.9 kB / 0.5734 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.7042, allocations: 1.714 MB / 0.5751 GB, free: 3.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.7049, allocations: 282.7 kB / 0.5753 GB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.7052, allocations: 138 kB / 0.5755 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.7053, allocations: 192 / 0.5755 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.7053, allocations: 38.75 kB / 0.5755 GB, free: 3.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.354e-06/0.7054, allocations: 4 kB / 0.5755 GB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001863/0.7072, allocations: 0.5266 MB / 0.576 GB, free: 2.527 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.7073, allocations: 77.11 kB / 0.5761 GB, free: 2.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.7077, allocations: 189.8 kB / 0.5763 GB, free: 2.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.7078, allocations: 33.7 kB / 0.5763 GB, free: 2.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.708, allocations: 246.2 kB / 0.5765 GB, free: 1.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.7081, allocations: 74.84 kB / 0.5766 GB, free: 1.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.7081, allocations: 8.031 kB / 0.5766 GB, free: 1.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7083, allocations: 326.8 kB / 0.5769 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.7086, allocations: 100.5 kB / 0.577 GB, free: 1.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.709, allocations: 201 kB / 0.5772 GB, free: 1.207 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.7094, allocations: 132.7 kB / 0.5773 GB, free: 1.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7094, allocations: 4 kB / 0.5773 GB, free: 1.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001327/0.7107, allocations: 417.8 kB / 0.5777 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.7108, allocations: 8 kB / 0.5777 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7108, allocations: 0 / 0.5777 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.7115, allocations: 88.78 kB / 0.5778 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.7119, allocations: 55.91 kB / 0.5779 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.715, allocations: 1.804 MB / 0.5796 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.7154, allocations: 23.94 kB / 0.5797 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7154, allocations: 12 kB / 0.5797 GB, free: 14.54 MB / 426.7 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 () * 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 (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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.7156, allocations: 116.9 kB / 0.5798 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.7157, allocations: 19.75 kB / 0.5798 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.717, allocations: 395.6 kB / 0.5802 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.717, allocations: 4 kB / 0.5802 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.717, allocations: 0 / 0.5802 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.717, allocations: 3.984 kB / 0.5802 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.7195, allocations: 0.9114 MB / 0.5811 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7196, allocations: 4 kB / 0.5811 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.7199, allocations: 39.91 kB / 0.5811 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.7204, allocations: 76.84 kB / 0.5812 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.7204, allocations: 4 kB / 0.5812 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.7232, allocations: 1.706 MB / 0.5829 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7232, allocations: 3.938 kB / 0.5829 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.7244, allocations: 495.7 kB / 0.5833 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.7246, allocations: 96.92 kB / 0.5834 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.7247, allocations: 4 kB / 0.5834 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.7249, allocations: 11.98 kB / 0.5835 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.725, allocations: 27.88 kB / 0.5835 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.7251, allocations: 4 kB / 0.5835 GB, free: 10.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.7253, allocations: 156.2 kB / 0.5836 GB, free: 10.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7253, allocations: 0 / 0.5836 GB, free: 10.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007171/0.726, allocations: 88 kB / 0.5837 GB, free: 10.1 MB / 426.7 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 () * 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 (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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/0.7278, allocations: 1.239 MB / 0.5849 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.7291, allocations: 419.6 kB / 0.5853 GB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.7292, allocations: 4 kB / 0.5853 GB, free: 8.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.7299, allocations: 274.3 kB / 0.5856 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.7304, allocations: 39.88 kB / 0.5856 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.7322, allocations: 0.5675 MB / 0.5862 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/0.7328, allocations: 0.8031 MB / 0.587 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.7331, allocations: 87.41 kB / 0.5871 GB, free: 6.527 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7331, allocations: 4 kB / 0.5871 GB, free: 6.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.851/3.584, allocations: 5.698 MB / 0.5926 GB, free: 0.8203 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)