Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001821/0.001821, allocations: 188.3 kB / 18.68 MB, free: 4.406 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.433/1.433, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1815/0.1815, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.001517/0.001517, allocations: 64.38 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1002, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.006405/0.1067, allocations: 5.173 MB / 493 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1096, allocations: 1.804 MB / 494.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1099, allocations: 15.88 kB / 494.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1111, allocations: 450 kB / 495.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006002/0.1117, allocations: 302.4 kB / 495.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000911/0.1126, allocations: 359.2 kB / 495.9 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008189/0.1135, allocations: 0.7558 MB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.1141, allocations: 382.1 kB / 497 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.1145, allocations: 342.7 kB / 497.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.1152, allocations: 454.6 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.1153, allocations: 52 kB / 497.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.1157, allocations: 171.7 kB / 498 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.1161, allocations: 287.3 kB / 498.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.1164, allocations: 338.4 kB / 498.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.1173, allocations: 0.8216 MB / 499.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1173, allocations: 0 / 499.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1173, allocations: 0 / 499.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1174, allocations: 0 / 499.4 MB, free: 12.65 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001809/0.1192, allocations: 0.9098 MB / 0.4886 GB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1192, allocations: 11.89 kB / 0.4886 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1202, allocations: 132.1 kB / 0.4887 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1214, allocations: 0.5469 MB / 0.4893 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1214, allocations: 33.12 kB / 0.4893 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.1218, allocations: 123.8 kB / 0.4894 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1231, allocations: 0.8704 MB / 0.4903 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1231, allocations: 7.938 kB / 0.4903 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.187e-05/0.1232, allocations: 16 kB / 0.4903 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004432/0.1236, allocations: 72.94 kB / 0.4904 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.1246, allocations: 0.6127 MB / 0.491 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.1298, allocations: 3.788 MB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.131, allocations: 0.5304 MB / 0.4952 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/0.1314, allocations: 323 kB / 0.4955 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.1315, allocations: 8.422 kB / 0.4955 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.1316, allocations: 50.86 kB / 0.4955 GB, free: 4.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.1316, allocations: 0 / 0.4955 GB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.003136/0.1347, allocations: 1.836 MB / 0.4973 GB, free: 2.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1348, allocations: 81.55 kB / 0.4974 GB, free: 2.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.1353, allocations: 425.7 kB / 0.4978 GB, free: 1.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.1353, allocations: 29.7 kB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.1356, allocations: 335.8 kB / 0.4982 GB, free: 1.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.1358, allocations: 193.3 kB / 0.4984 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.136, allocations: 150.2 kB / 0.4985 GB, free: 1.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.1363, allocations: 370.7 kB / 0.4989 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.1368, allocations: 381.4 kB / 0.4992 GB, free: 416 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000781/0.1376, allocations: 0.6057 MB / 0.4998 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.139, allocations: 1.065 MB / 0.5008 GB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.139, allocations: 0 / 0.5008 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004458/0.1435, allocations: 1.992 MB / 0.5028 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.1435, allocations: 11.98 kB / 0.5028 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.1436, allocations: 12.03 kB / 0.5028 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.1461, allocations: 0.969 MB / 0.5038 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1466, allocations: 123.8 kB / 0.5039 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.1576, allocations: 8.193 MB / 0.5119 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.1581, allocations: 35.97 kB / 0.5119 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.1582, allocations: 35.98 kB / 0.512 GB, free: 2.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003521/0.1586, allocations: 245.5 kB / 0.5122 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1587, allocations: 51.5 kB / 0.5122 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1599, allocations: 0.7218 MB / 0.5129 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1599, allocations: 7.984 kB / 0.5129 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1599, allocations: 3.938 kB / 0.513 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1601, allocations: 124.5 kB / 0.5131 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.1602, allocations: 27.92 kB / 0.5131 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.1605, allocations: 27.97 kB / 0.5131 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.1606, allocations: 28.45 kB / 0.5131 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00301/0.1637, allocations: 1.287 MB / 0.5144 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001766/0.1654, allocations: 1.368 MB / 0.5157 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004744/0.1659, allocations: 367.2 kB / 0.5161 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.1662, allocations: 279.1 kB / 0.5164 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Backend: time 7.82e-07/0.1663, allocations: 0 / 0.5164 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002946/0.1692, allocations: 1.405 MB / 0.5177 GB, free: 12.85 MB / 414.1 MB Notification: Performance of SimCode: time 0.00356/0.1728, allocations: 2.883 MB / 0.5205 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Templates: time 0.2403/0.4131, allocations: 13.15 MB / 0.5334 GB, free: 51.82 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)