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.00145/0.00145, allocations: 107.1 kB / 17.74 MB, free: 5.188 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.001595/0.001595, allocations: 193.6 kB / 18.67 MB, free: 4.266 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.388/1.388, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1728/0.1728, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.00156/0.001561, allocations: 75.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1026, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00634/0.109, allocations: 4.55 MB / 492.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1118, allocations: 1.602 MB / 493.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.1122, allocations: 19.88 kB / 494 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.1133, allocations: 286.6 kB / 494.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007117/0.114, allocations: 266.7 kB / 494.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.1147, allocations: 259.4 kB / 494.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008247/0.1156, allocations: 0.604 MB / 495.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.116, allocations: 256.2 kB / 495.6 MB, free: 488 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.1165, allocations: 279 kB / 495.9 MB, free: 208 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.1172, allocations: 326.9 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-05/0.1173, allocations: 36 kB / 496.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.1177, allocations: 143.8 kB / 496.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.1179, allocations: 219.4 kB / 496.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.1183, allocations: 250.8 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.119, allocations: 0.5995 MB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.119, allocations: 0 / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.119, allocations: 0 / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.119, allocations: 0 / 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.001536/0.1206, allocations: 0.7582 MB / 498.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1206, allocations: 15.89 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.1213, allocations: 96.22 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.122, allocations: 416 kB / 498.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.122, allocations: 33.36 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1222, allocations: 56.05 kB / 498.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.1231, allocations: 0.6638 MB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1231, allocations: 0 / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.1231, allocations: 23.98 kB / 499.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.1233, allocations: 48.97 kB / 499.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007591/0.1241, allocations: 499.4 kB / 0.4883 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.1273, allocations: 3.14 MB / 0.4914 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.1277, allocations: 249.3 kB / 0.4916 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1279, allocations: 121.7 kB / 0.4917 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.128, allocations: 11.92 kB / 0.4917 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.128, allocations: 34.56 kB / 0.4918 GB, free: 8.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.128, allocations: 4 kB / 0.4918 GB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.00141/0.1294, allocations: 0.8936 MB / 0.4926 GB, free: 7.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.1295, allocations: 84.97 kB / 0.4927 GB, free: 7.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1298, allocations: 328.4 kB / 0.493 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1299, allocations: 25.7 kB / 0.4931 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.13, allocations: 299 kB / 0.4933 GB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.1301, allocations: 90.8 kB / 0.4934 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1302, allocations: 86.16 kB / 0.4935 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1303, allocations: 350.7 kB / 0.4938 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1306, allocations: 132.8 kB / 0.494 GB, free: 5.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.1309, allocations: 325.1 kB / 0.4943 GB, free: 5.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.1314, allocations: 0.4887 MB / 0.4948 GB, free: 4.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1314, allocations: 4 kB / 0.4948 GB, free: 4.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001065/0.1325, allocations: 0.5924 MB / 0.4953 GB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1326, allocations: 8 kB / 0.4953 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005925/0.1332, allocations: 333.9 kB / 0.4957 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004399/0.1336, allocations: 113.6 kB / 0.4958 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1339, allocations: 87.83 kB / 0.4959 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.1367, allocations: 3.278 MB / 0.4991 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.137, allocations: 19.98 kB / 0.4991 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.1371, allocations: 32.06 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.0002752/0.1374, allocations: 209.6 kB / 0.4993 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/0.1374, allocations: 31.62 kB / 0.4993 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.138, allocations: 320.6 kB / 0.4996 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.138, allocations: 4 kB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.138, allocations: 3.938 kB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.138, allocations: 4 kB / 0.4997 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1391, allocations: 0.8008 MB / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1391, allocations: 0 / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.1395, allocations: 63.91 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1395, allocations: 3.938 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.1395, allocations: 8 kB / 0.5005 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1395, allocations: 8.062 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1395, allocations: 0 / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.1402, allocations: 0.5054 MB / 0.501 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.1403, allocations: 128.6 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1404, allocations: 11.98 kB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1405, allocations: 11.94 kB / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1406, allocations: 19.97 kB / 0.5012 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1406, allocations: 8 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1408, allocations: 227 kB / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1408, allocations: 0 / 0.5014 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.1413, allocations: 99.94 kB / 0.5015 GB, free: 13.45 MB / 398.1 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.1415, allocations: 99.19 kB / 0.5016 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.1424, allocations: 0.5961 MB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1424, allocations: 0 / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1426, allocations: 128.3 kB / 0.5023 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.1431, allocations: 81.19 kB / 0.5024 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1447, allocations: 1.034 MB / 0.5034 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.1452, allocations: 0.8696 MB / 0.5042 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.1453, allocations: 35.44 kB / 0.5043 GB, free: 10.51 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1453, allocations: 0 / 0.5043 GB, free: 10.51 MB / 398.1 MB Notification: Performance of Templates: time 0.01011/0.1554, allocations: 6.548 MB / 0.5107 GB, free: 3.953 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)