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: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 173 kB / 16.76 MB, free: 5.051 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.673/1.673, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007103/0.0007103, allocations: 86.42 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1706/0.1706, allocations: 38.07 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2456, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3676, allocations: 94.09 MB / 0.5609 GB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.3679, allocations: 83.95 kB / 0.561 GB, free: 8.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04278/0.4107, allocations: 18.02 MB / 0.5786 GB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4108, allocations: 0 / 0.5786 GB, free: 5.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.4108, allocations: 4 kB / 0.5786 GB, free: 5.949 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.0008319/0.4116, allocations: 0.5774 MB / 0.5791 GB, free: 5.316 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4117, allocations: 12.03 kB / 0.5791 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.4129, allocations: 132.5 kB / 0.5793 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.4133, allocations: 300.9 kB / 0.5796 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4133, allocations: 20.94 kB / 0.5796 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.4134, allocations: 24.38 kB / 0.5796 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.414, allocations: 428.2 kB / 0.58 GB, free: 4.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.414, allocations: 4.125 kB / 0.58 GB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.4141, allocations: 15.94 kB / 0.58 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.4142, allocations: 32.53 kB / 0.5801 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.4148, allocations: 409.9 kB / 0.5805 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.4169, allocations: 1.725 MB / 0.5821 GB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.4173, allocations: 290.1 kB / 0.5824 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4174, allocations: 133.7 kB / 0.5825 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.4175, allocations: 0 / 0.5825 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4175, allocations: 38.56 kB / 0.5826 GB, free: 1.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.4175, allocations: 0 / 0.5826 GB, free: 1.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001691/0.4192, allocations: 0.7912 MB / 0.5833 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4193, allocations: 81.05 kB / 0.5834 GB, free: 0.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4195, allocations: 207 kB / 0.5836 GB, free: 424 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4195, allocations: 29.7 kB / 0.5837 GB, free: 388 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.4196, allocations: 184 kB / 0.5838 GB, free: 200 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.4197, allocations: 82.83 kB / 0.5839 GB, free: 116 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.4197, allocations: 4.125 kB / 0.5839 GB, free: 112 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4198, allocations: 334.9 kB / 0.5842 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.42, allocations: 100.5 kB / 0.5843 GB, free: 15.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.4202, allocations: 208.9 kB / 0.5845 GB, free: 15.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.4206, allocations: 335.7 kB / 0.5848 GB, free: 15.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4207, allocations: 4 kB / 0.5848 GB, free: 15.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008036/0.4215, allocations: 434.3 kB / 0.5853 GB, free: 14.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4215, allocations: 4 kB / 0.5853 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4215, allocations: 4 kB / 0.5853 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.4219, allocations: 85.2 kB / 0.5854 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4222, allocations: 59.89 kB / 0.5854 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.4241, allocations: 1.807 MB / 0.5872 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.4243, allocations: 15.98 kB / 0.5872 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4243, allocations: 15.98 kB / 0.5872 GB, free: 12.49 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 () * 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 (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.000233/0.4245, allocations: 177.8 kB / 0.5874 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.4246, allocations: 19.72 kB / 0.5874 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/0.4253, allocations: 383.9 kB / 0.5878 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4254, allocations: 4 kB / 0.5878 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4254, allocations: 4 kB / 0.5878 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4254, allocations: 7.938 kB / 0.5878 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4268, allocations: 0.9221 MB / 0.5887 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4268, allocations: 0 / 0.5887 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.427, allocations: 35.92 kB / 0.5887 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.4273, allocations: 72.78 kB / 0.5888 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4273, allocations: 4 kB / 0.5888 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.429, allocations: 1.717 MB / 0.5905 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.429, allocations: 0 / 0.5905 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.4297, allocations: 466.5 kB / 0.5909 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.4298, allocations: 112.7 kB / 0.591 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4298, allocations: 0 / 0.591 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.43, allocations: 11.98 kB / 0.591 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.43, allocations: 23.92 kB / 0.591 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.43, allocations: 4 kB / 0.591 GB, free: 8.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.4302, allocations: 152.4 kB / 0.5912 GB, free: 8.121 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.303e-06/0.4302, allocations: 0 / 0.5912 GB, free: 8.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.4307, allocations: 95.94 kB / 0.5913 GB, free: 8.027 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 () * 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 (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.0001274/0.4308, allocations: 107.2 kB / 0.5914 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.4316, allocations: 427.7 kB / 0.5918 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4316, allocations: 0 / 0.5918 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.432, allocations: 282.4 kB / 0.5921 GB, free: 7.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.4324, allocations: 43.91 kB / 0.5921 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4335, allocations: 0.7698 MB / 0.5929 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.4339, allocations: 0.7987 MB / 0.5936 GB, free: 5.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/0.434, allocations: 23.42 kB / 0.5937 GB, free: 5.492 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.434, allocations: 4 kB / 0.5937 GB, free: 5.488 MB / 426.7 MB Notification: Performance of Templates: time 0.006068/0.4401, allocations: 4.36 MB / 0.5979 GB, free: 1.125 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)