Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002159/0.002158, allocations: 182.8 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 86.64 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2631/0.2631, allocations: 37.99 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.727e-05, allocations: 4 kB / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6272, allocations: 101.3 MB / 0.5542 GB, free: 9.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.6275, allocations: 84.89 kB / 0.5543 GB, free: 9.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0603/0.6878, allocations: 14.49 MB / 0.5684 GB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6879, allocations: 0 / 0.5684 GB, free: 14.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.6879, allocations: 19.88 kB / 0.5684 GB, free: 14.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001707/0.6897, allocations: 0.6684 MB / 0.5691 GB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6897, allocations: 8.031 kB / 0.5691 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6908, allocations: 99.36 kB / 0.5692 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.6943, allocations: 0.8527 MB / 0.57 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.6944, allocations: 16 kB / 0.57 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6945, allocations: 20 kB / 0.57 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/0.6956, allocations: 380 kB / 0.5704 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.6968, allocations: 0.578 MB / 0.571 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.6969, allocations: 4 kB / 0.571 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.6969, allocations: 7.984 kB / 0.571 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.6971, allocations: 43.62 kB / 0.571 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005076/0.7022, allocations: 2.948 MB / 0.5739 GB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.7029, allocations: 247.1 kB / 0.5741 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.7032, allocations: 141.5 kB / 0.5743 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.7033, allocations: 11.89 kB / 0.5743 GB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.7034, allocations: 30.56 kB / 0.5743 GB, free: 8.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.717e-06/0.7034, allocations: 4 kB / 0.5743 GB, free: 8.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002245/0.7056, allocations: 0.8738 MB / 0.5752 GB, free: 7.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.7057, allocations: 84.23 kB / 0.5753 GB, free: 7.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.7062, allocations: 266.8 kB / 0.5755 GB, free: 7.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.7062, allocations: 25.7 kB / 0.5755 GB, free: 7.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.7065, allocations: 332.5 kB / 0.5758 GB, free: 7.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.7066, allocations: 95.58 kB / 0.5759 GB, free: 6.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.7067, allocations: 4.031 kB / 0.5759 GB, free: 6.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7068, allocations: 330.6 kB / 0.5763 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.7071, allocations: 134.9 kB / 0.5764 GB, free: 6.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.7076, allocations: 309.6 kB / 0.5767 GB, free: 6.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.7082, allocations: 199.3 kB / 0.5769 GB, free: 6.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7082, allocations: 4 kB / 0.5769 GB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001676/0.7099, allocations: 0.5587 MB / 0.5774 GB, free: 5.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.71, allocations: 12.16 kB / 0.5774 GB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001106/0.7111, allocations: 354.5 kB / 0.5778 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006386/0.7117, allocations: 109.7 kB / 0.5779 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.7124, allocations: 91.25 kB / 0.578 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003715/0.7161, allocations: 2.898 MB / 0.5808 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.7167, allocations: 15.98 kB / 0.5808 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.7167, allocations: 16 kB / 0.5808 GB, free: 2.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.7169, allocations: 124.2 kB / 0.5809 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.717, allocations: 35.53 kB / 0.581 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.718, allocations: 356.5 kB / 0.5813 GB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.7181, allocations: 4 kB / 0.5813 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.7181, allocations: 3.938 kB / 0.5813 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.7181, allocations: 3.984 kB / 0.5813 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7201, allocations: 0.7994 MB / 0.5821 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7201, allocations: 0 / 0.5821 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/0.7209, allocations: 59.95 kB / 0.5822 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.7209, allocations: 0 / 0.5822 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.7209, allocations: 7.375 kB / 0.5822 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.721, allocations: 7.938 kB / 0.5822 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.721, allocations: 0 / 0.5822 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.7222, allocations: 0.5919 MB / 0.5828 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.7225, allocations: 136.1 kB / 0.5829 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.7225, allocations: 0 / 0.5829 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.7229, allocations: 15.98 kB / 0.5829 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.723, allocations: 27.23 kB / 0.5829 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.723, allocations: 4 kB / 0.5829 GB, free: 276 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.7233, allocations: 200.2 kB / 0.5831 GB, free: 112 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7234, allocations: 0 / 0.5831 GB, free: 112 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008126/0.7242, allocations: 107.9 kB / 0.5832 GB, free: 4 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * 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.0003077/0.7245, allocations: 130.7 kB / 0.5833 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.7259, allocations: 0.5741 MB / 0.5839 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.726, allocations: 1.562 kB / 0.5839 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.7263, allocations: 147.8 kB / 0.5841 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.727, allocations: 56.5 kB / 0.5841 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.7292, allocations: 0.8297 MB / 0.5849 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008285/0.7301, allocations: 0.8873 MB / 0.5858 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.7303, allocations: 31.44 kB / 0.5858 GB, free: 13.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7304, allocations: 0 / 0.5858 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Templates: time 0.01612/0.7465, allocations: 6.562 MB / 0.5922 GB, free: 7.012 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)