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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1761/0.1761, allocations: 37.97 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09582, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005912/0.1018, allocations: 4.558 MB / 492.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.1045, allocations: 1.602 MB / 493.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.1049, allocations: 15.94 kB / 494 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1059, allocations: 286.7 kB / 494.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007527/0.1067, allocations: 266.7 kB / 494.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.1075, allocations: 251.4 kB / 494.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008547/0.1083, allocations: 0.6157 MB / 495.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.1088, allocations: 256.2 kB / 495.6 MB, free: 484 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.1093, allocations: 271 kB / 495.9 MB, free: 212 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/0.1099, allocations: 326.9 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.11, allocations: 36 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.1103, allocations: 147.8 kB / 496.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1106, allocations: 227.4 kB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.1109, allocations: 238.8 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.1115, allocations: 0.5995 MB / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1115, allocations: 0 / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1115, allocations: 0 / 497.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1115, allocations: 3.938 kB / 497.4 MB, free: 14.64 MB / 382.1 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.001339/0.1129, allocations: 0.7621 MB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1129, allocations: 11.89 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/0.1136, allocations: 96.2 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.1143, allocations: 416 kB / 498.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1143, allocations: 29.38 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1145, allocations: 60.03 kB / 498.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.1153, allocations: 0.6638 MB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1154, allocations: 7.938 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.1154, allocations: 16 kB / 499.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.1156, allocations: 48.97 kB / 499.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.1163, allocations: 495.4 kB / 0.4883 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.1197, allocations: 3.144 MB / 0.4914 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.1201, allocations: 249.3 kB / 0.4916 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1204, allocations: 117.7 kB / 0.4917 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1204, allocations: 7.938 kB / 0.4917 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1204, allocations: 38.5 kB / 0.4918 GB, free: 8.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.1204, allocations: 4 kB / 0.4918 GB, free: 8.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001555/0.122, allocations: 0.8858 MB / 0.4926 GB, free: 7.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1221, allocations: 84.95 kB / 0.4927 GB, free: 7.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.1224, allocations: 332.4 kB / 0.493 GB, free: 6.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.1224, allocations: 29.7 kB / 0.4931 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1226, allocations: 298.9 kB / 0.4933 GB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.1227, allocations: 86.92 kB / 0.4934 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.1228, allocations: 94.02 kB / 0.4935 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.123, allocations: 350.7 kB / 0.4939 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.1232, allocations: 132.8 kB / 0.494 GB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1236, allocations: 321.2 kB / 0.4943 GB, free: 5.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/0.1242, allocations: 0.4925 MB / 0.4948 GB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1242, allocations: 0 / 0.4948 GB, free: 4.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001056/0.1253, allocations: 0.5964 MB / 0.4953 GB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1253, allocations: 8 kB / 0.4954 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006494/0.126, allocations: 329.8 kB / 0.4957 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.1265, allocations: 113.6 kB / 0.4958 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.1268, allocations: 87.83 kB / 0.4959 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/0.1303, allocations: 3.281 MB / 0.4991 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.1306, allocations: 24.06 kB / 0.4991 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.1307, allocations: 27.98 kB / 0.4991 GB, free: 28 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.131, allocations: 205.7 kB / 0.4993 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.1311, allocations: 31.62 kB / 0.4993 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.1316, allocations: 320.6 kB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1316, allocations: 4 kB / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1316, allocations: 0 / 0.4997 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1317, allocations: 132.5 kB / 0.4998 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1318, allocations: 4 kB / 0.4998 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1319, allocations: 11.98 kB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.132, allocations: 11.98 kB / 0.4998 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007295/0.1327, allocations: 488.3 kB / 0.5003 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006903/0.1334, allocations: 0.6692 MB / 0.5009 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001599/0.1336, allocations: 116 kB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.1339, allocations: 231.1 kB / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Backend: time 1.102e-06/0.1339, allocations: 0 / 0.5013 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1354, allocations: 0.6208 MB / 0.5019 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.00172/0.1371, allocations: 1.406 MB / 0.5032 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Templates: time 0.009466/0.1466, allocations: 4.877 MB / 0.508 GB, free: 6.777 MB / 398.1 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)