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: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009722/0.000972, allocations: 173.6 kB / 16.76 MB, free: 5.055 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.325/1.325, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007418/0.0007418, allocations: 89.31 kB / 271.3 MB, free: 8.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.2054/0.2054, allocations: 38.07 MB / 357.6 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 12 kB / 423.9 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3511, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.5552, allocations: 94.04 MB / 0.5608 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004344/0.5557, allocations: 83.95 kB / 0.5609 GB, free: 8.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06174/0.6174, allocations: 13.24 MB / 0.5738 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.6175, allocations: 0 / 0.5738 GB, free: 10.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.6176, allocations: 4 kB / 0.5738 GB, free: 10.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001274/0.6188, allocations: 0.4912 MB / 0.5743 GB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.6189, allocations: 8.031 kB / 0.5743 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.6206, allocations: 96.62 kB / 0.5744 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.6213, allocations: 276.3 kB / 0.5747 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.6214, allocations: 12.38 kB / 0.5747 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.6215, allocations: 20.31 kB / 0.5747 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.6224, allocations: 318.4 kB / 0.575 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.6224, allocations: 0 / 0.575 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.6225, allocations: 8 kB / 0.575 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.6227, allocations: 23.92 kB / 0.5751 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.6234, allocations: 279.7 kB / 0.5753 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.6262, allocations: 1.293 MB / 0.5766 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.6268, allocations: 169.2 kB / 0.5767 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.627, allocations: 49.77 kB / 0.5768 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.6271, allocations: 0 / 0.5768 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.6271, allocations: 46.44 kB / 0.5768 GB, free: 7.531 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.956e-06/0.6271, allocations: 0 / 0.5768 GB, free: 7.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001694/0.6288, allocations: 418.3 kB / 0.5772 GB, free: 7.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.6289, allocations: 77.11 kB / 0.5773 GB, free: 7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.6293, allocations: 198.5 kB / 0.5775 GB, free: 6.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.6293, allocations: 25.7 kB / 0.5775 GB, free: 6.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.6295, allocations: 171.7 kB / 0.5777 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.6296, allocations: 43.36 kB / 0.5777 GB, free: 6.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.6297, allocations: 4 kB / 0.5777 GB, free: 6.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6299, allocations: 334.9 kB / 0.5781 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.63, allocations: 47.97 kB / 0.5781 GB, free: 6.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.6303, allocations: 156.7 kB / 0.5782 GB, free: 5.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.6309, allocations: 217.2 kB / 0.5785 GB, free: 5.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.6309, allocations: 3.938 kB / 0.5785 GB, free: 5.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008618/0.6318, allocations: 253.9 kB / 0.5787 GB, free: 5.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.6318, allocations: 8 kB / 0.5787 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6318, allocations: 8.438 kB / 0.5787 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.6322, allocations: 48.77 kB / 0.5788 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.6325, allocations: 35.98 kB / 0.5788 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.6344, allocations: 1.347 MB / 0.5801 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6346, allocations: 11.91 kB / 0.5801 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.6347, allocations: 8 kB / 0.5801 GB, free: 3.84 MB / 410.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 () * 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 (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 0.0002858/0.635, allocations: 160.8 kB / 0.5803 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.6351, allocations: 15.91 kB / 0.5803 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.6358, allocations: 191.9 kB / 0.5805 GB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6358, allocations: 4 kB / 0.5805 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6358, allocations: 3.984 kB / 0.5805 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6358, allocations: 0 / 0.5805 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.6372, allocations: 0.5446 MB / 0.581 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6372, allocations: 4 kB / 0.581 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.6374, allocations: 27.92 kB / 0.5811 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.6376, allocations: 32.77 kB / 0.5811 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.6377, allocations: 4 kB / 0.5811 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.6394, allocations: 1.327 MB / 0.5824 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.6394, allocations: 4.031 kB / 0.5824 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.6401, allocations: 294.3 kB / 0.5827 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.6402, allocations: 92.86 kB / 0.5828 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.6403, allocations: 4 kB / 0.5828 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.6405, allocations: 12 kB / 0.5828 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.6406, allocations: 7.984 kB / 0.5828 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.6406, allocations: 4 kB / 0.5828 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.6409, allocations: 152.1 kB / 0.5829 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6409, allocations: 0 / 0.5829 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007361/0.6417, allocations: 56 kB / 0.583 GB, free: 0.6562 MB / 410.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 () * 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 (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.000218/0.6419, allocations: 111.2 kB / 0.5831 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008747/0.6428, allocations: 262.9 kB / 0.5833 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6428, allocations: 0 / 0.5833 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.6432, allocations: 175.6 kB / 0.5835 GB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.644, allocations: 39.98 kB / 0.5835 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.6455, allocations: 0.5513 MB / 0.5841 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.6461, allocations: 0.7596 MB / 0.5848 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.6462, allocations: 19.44 kB / 0.5848 GB, free: 14.64 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6462, allocations: 0 / 0.5848 GB, free: 14.64 MB / 426.7 MB Notification: Performance of Templates: time 0.009752/0.6559, allocations: 3.145 MB / 0.5879 GB, free: 11.49 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (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 & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)