Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001027/0.001027, allocations: 183.5 kB / 17.4 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.442/1.442, allocations: 194.5 MB / 212.6 MB, free: 2.953 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 114.3 kB / 257.9 MB, free: 4.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1806/0.1806, allocations: 38.01 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 12 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09281/0.09319, allocations: 53.23 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4615, allocations: 97.04 MB / 0.5423 GB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4618, allocations: 98.95 kB / 0.5424 GB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04053/0.5024, allocations: 14.6 MB / 0.5566 GB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5024, allocations: 0 / 0.5566 GB, free: 1.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.247e-05/0.5025, allocations: 8 kB / 0.5566 GB, free: 1.527 MB / 362.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.00153/0.504, allocations: 0.7184 MB / 0.5573 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.5041, allocations: 8.031 kB / 0.5573 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.5047, allocations: 92.22 kB / 0.5574 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.5057, allocations: 0.5565 MB / 0.558 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.5058, allocations: 31.8 kB / 0.558 GB, free: 160 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.5059, allocations: 39.03 kB / 0.558 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.5068, allocations: 0.6472 MB / 0.5587 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5069, allocations: 3.938 kB / 0.5587 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.5069, allocations: 22.86 kB / 0.5587 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/0.507, allocations: 36.55 kB / 0.5587 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.5078, allocations: 467.2 kB / 0.5592 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.511, allocations: 3.04 MB / 0.5622 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.5115, allocations: 261.6 kB / 0.5624 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.5118, allocations: 148.1 kB / 0.5625 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.5118, allocations: 4.75 kB / 0.5625 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5118, allocations: 33.12 kB / 0.5626 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/0.5119, allocations: 0 / 0.5626 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001768/0.5136, allocations: 1.03 MB / 0.5636 GB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.5137, allocations: 81.11 kB / 0.5637 GB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.5141, allocations: 316.9 kB / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5141, allocations: 29.14 kB / 0.564 GB, free: 10.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.5143, allocations: 276.3 kB / 0.5643 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.5144, allocations: 107.8 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.5144, allocations: 5.812 kB / 0.5644 GB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5146, allocations: 348.8 kB / 0.5647 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.5148, allocations: 154.1 kB / 0.5648 GB, free: 9.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.5152, allocations: 324.5 kB / 0.5652 GB, free: 9.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.5158, allocations: 0.5054 MB / 0.5656 GB, free: 9.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.5158, allocations: 4 kB / 0.5657 GB, free: 9.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001073/0.5169, allocations: 0.6176 MB / 0.5663 GB, free: 8.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5169, allocations: 8 kB / 0.5663 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/0.5175, allocations: 377.3 kB / 0.5666 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.518, allocations: 106.6 kB / 0.5667 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.5183, allocations: 91 kB / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.5211, allocations: 3.02 MB / 0.5698 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.5214, allocations: 23.14 kB / 0.5698 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.5214, allocations: 19.75 kB / 0.5698 GB, free: 5.059 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 () * Number of clocked 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.000302/0.5217, allocations: 222.7 kB / 0.57 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.5218, allocations: 35.62 kB / 0.57 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.5224, allocations: 370.4 kB / 0.5704 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.5224, allocations: 8 kB / 0.5704 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.5224, allocations: 0 / 0.5704 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5225, allocations: 3.984 kB / 0.5704 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5236, allocations: 0.8933 MB / 0.5713 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5237, allocations: 0 / 0.5713 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.524, allocations: 63.45 kB / 0.5713 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5241, allocations: 4 kB / 0.5713 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.5241, allocations: 7.672 kB / 0.5714 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.5241, allocations: 7.938 kB / 0.5714 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5241, allocations: 4.062 kB / 0.5714 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.5248, allocations: 0.577 MB / 0.5719 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.525, allocations: 131.2 kB / 0.5721 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.525, allocations: 11.67 kB / 0.5721 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5252, allocations: 15.36 kB / 0.5721 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.5253, allocations: 27.17 kB / 0.5721 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5253, allocations: 7.984 kB / 0.5721 GB, free: 3.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.5255, allocations: 215.7 kB / 0.5723 GB, free: 2.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5255, allocations: 0 / 0.5723 GB, free: 2.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.5261, allocations: 111.8 kB / 0.5724 GB, free: 2.773 MB / 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 () * Number of clocked 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.0001946/0.5263, allocations: 139.9 kB / 0.5726 GB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000923/0.5272, allocations: 0.624 MB / 0.5732 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5272, allocations: 0 / 0.5732 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.5274, allocations: 151.8 kB / 0.5733 GB, free: 1.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.5279, allocations: 67.17 kB / 0.5734 GB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.5297, allocations: 1.254 MB / 0.5746 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.5302, allocations: 0.8674 MB / 0.5755 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003607/0.5306, allocations: 119.2 kB / 0.5756 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.5307, allocations: 31.42 kB / 0.5756 GB, free: 15.7 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5307, allocations: 0 / 0.5756 GB, free: 15.7 MB / 394.7 MB Notification: Performance of Templates: time 0.008017/0.5387, allocations: 3.851 MB / 0.5794 GB, free: 11.87 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)