Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001658/0.001658, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.453/1.453, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001604/0.001604, allocations: 118.3 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1689/0.1689, allocations: 37.91 MB / 330.9 MB, free: 7.328 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.071e-05, allocations: 4 kB / 390.3 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07484/0.07487, allocations: 53.24 MB / 443.6 MB, free: 25.12 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.3959, allocations: 88.25 MB / 0.5194 GB, free: 11.18 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.3963, allocations: 81.89 kB / 0.5194 GB, free: 11.17 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02766/0.424, allocations: 13.06 MB / 0.5322 GB, free: 5.734 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.424, allocations: 0 / 0.5322 GB, free: 5.734 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4241, allocations: 3.844 kB / 0.5322 GB, free: 5.734 MB / 347.1 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.0005672/0.4246, allocations: 493.4 kB / 0.5327 GB, free: 5.285 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4247, allocations: 7.625 kB / 0.5327 GB, free: 5.285 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.4255, allocations: 101.3 kB / 0.5328 GB, free: 5.246 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.4258, allocations: 254.4 kB / 0.533 GB, free: 5.008 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4259, allocations: 7.719 kB / 0.533 GB, free: 5.008 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.4259, allocations: 7.812 kB / 0.533 GB, free: 5.008 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/0.4262, allocations: 197.5 kB / 0.5332 GB, free: 4.98 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.4266, allocations: 279.5 kB / 0.5335 GB, free: 4.852 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4266, allocations: 7.891 kB / 0.5335 GB, free: 4.844 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4266, allocations: 3.562 kB / 0.5335 GB, free: 4.844 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.4267, allocations: 30.19 kB / 0.5335 GB, free: 4.832 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.4279, allocations: 1.248 MB / 0.5347 GB, free: 3.895 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.4282, allocations: 156.7 kB / 0.5349 GB, free: 3.828 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.4283, allocations: 48.11 kB / 0.5349 GB, free: 3.809 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4283, allocations: 7.656 kB / 0.535 GB, free: 3.809 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.4283, allocations: 30.56 kB / 0.535 GB, free: 3.77 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.4284, allocations: 0 / 0.535 GB, free: 3.77 MB / 347.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005509/0.4289, allocations: 267.3 kB / 0.5352 GB, free: 3.637 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.4289, allocations: 80.95 kB / 0.5353 GB, free: 3.543 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.429, allocations: 156.1 kB / 0.5355 GB, free: 3.438 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.4291, allocations: 25.7 kB / 0.5355 GB, free: 3.406 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.4291, allocations: 166 kB / 0.5356 GB, free: 3.27 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.4292, allocations: 50.45 kB / 0.5357 GB, free: 3.234 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.4292, allocations: 3.938 kB / 0.5357 GB, free: 3.23 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.4292, allocations: 326.5 kB / 0.536 GB, free: 2.91 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.4293, allocations: 46.55 kB / 0.5361 GB, free: 2.902 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.4294, allocations: 142.3 kB / 0.5362 GB, free: 2.77 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.4295, allocations: 74.56 kB / 0.5363 GB, free: 2.746 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4295, allocations: 7.844 kB / 0.5363 GB, free: 2.742 MB / 347.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00032/0.4298, allocations: 220.5 kB / 0.5365 GB, free: 2.652 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4298, allocations: 7.688 kB / 0.5365 GB, free: 2.652 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4298, allocations: 448 / 0.5365 GB, free: 2.652 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.4301, allocations: 47.7 kB / 0.5365 GB, free: 2.633 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4302, allocations: 38.8 kB / 0.5366 GB, free: 2.625 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000825/0.431, allocations: 1.299 MB / 0.5378 GB, free: 1.367 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4312, allocations: 7.781 kB / 0.5378 GB, free: 1.367 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4312, allocations: 7.688 kB / 0.5379 GB, free: 1.367 MB / 347.1 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 7.28e-05/0.4313, allocations: 115.5 kB / 0.538 GB, free: 1.258 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.4313, allocations: 15.72 kB / 0.538 GB, free: 1.25 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.4316, allocations: 171.1 kB / 0.5381 GB, free: 1.176 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4316, allocations: 3.953 kB / 0.5381 GB, free: 1.172 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4316, allocations: 0 / 0.5381 GB, free: 1.172 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4316, allocations: 3.875 kB / 0.5381 GB, free: 1.172 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.4322, allocations: 0.5063 MB / 0.5386 GB, free: 0.7891 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4322, allocations: 3.75 kB / 0.5386 GB, free: 0.7891 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.4323, allocations: 23.25 kB / 0.5387 GB, free: 0.7812 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.4324, allocations: 31.86 kB / 0.5387 GB, free: 0.7656 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4324, allocations: 0 / 0.5387 GB, free: 0.7656 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007327/0.4332, allocations: 1.261 MB / 0.5399 GB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4332, allocations: 7.781 kB / 0.5399 GB, free: 15.52 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.4336, allocations: 325.5 kB / 0.5402 GB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.4336, allocations: 92.47 kB / 0.5403 GB, free: 15.15 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.4337, allocations: 3.875 kB / 0.5403 GB, free: 15.15 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.4338, allocations: 0 / 0.5403 GB, free: 15.15 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.4338, allocations: 19.3 kB / 0.5404 GB, free: 15.14 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4338, allocations: 3.875 kB / 0.5404 GB, free: 15.14 MB / 363.1 MB Notification: Performance of sorting global known variables: time 8.541e-05/0.4339, allocations: 125.9 kB / 0.5405 GB, free: 15.06 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4339, allocations: 0 / 0.5405 GB, free: 15.06 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.4343, allocations: 53.5 kB / 0.5405 GB, free: 15.01 MB / 363.1 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.0001427/0.4344, allocations: 103.2 kB / 0.5406 GB, free: 14.9 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0004619/0.4349, allocations: 252.7 kB / 0.5409 GB, free: 14.68 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4349, allocations: 0 / 0.5409 GB, free: 14.68 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.4351, allocations: 165.1 kB / 0.541 GB, free: 14.52 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4354, allocations: 27.88 kB / 0.5411 GB, free: 14.5 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.436, allocations: 279.7 kB / 0.5413 GB, free: 14.21 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4364, allocations: 0.7717 MB / 0.5421 GB, free: 13.42 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.4365, allocations: 33.83 kB / 0.5421 GB, free: 13.39 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.453e-05/0.4366, allocations: 19.44 kB / 0.5421 GB, free: 13.37 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4366, allocations: 4 kB / 0.5421 GB, free: 13.37 MB / 363.1 MB Notification: Performance of Templates: time 0.00404/0.4406, allocations: 1.429 MB / 0.5435 GB, free: 11.96 MB / 363.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)