Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 110.2 kB / 17.74 MB, free: 5.359 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.001121/0.001121, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.356/1.356, 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.1767/0.1767, allocations: 37.99 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.001421/0.001421, allocations: 63.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.0916, allocations: 55.25 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006213/0.09784, allocations: 5.325 MB / 493.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.09993, allocations: 1.205 MB / 494.3 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.1002, allocations: 11.94 kB / 494.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1006, allocations: 95.19 kB / 494.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.1013, allocations: 314.4 kB / 494.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.1017, allocations: 139.8 kB / 494.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.1023, allocations: 0.7281 MB / 495.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1026, allocations: 184.8 kB / 495.8 MB, free: 312 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.103, allocations: 322.8 kB / 496.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.1035, allocations: 366.6 kB / 496.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.1036, allocations: 40 kB / 496.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1037, allocations: 40 kB / 496.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.1039, allocations: 207.4 kB / 496.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.1042, allocations: 258.7 kB / 497 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.1047, allocations: 0.5527 MB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1047, allocations: 4 kB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1047, allocations: 3.938 kB / 497.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1048, allocations: 0 / 497.5 MB, free: 14.53 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001416/0.1062, allocations: 0.823 MB / 498.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1062, allocations: 19.83 kB / 498.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.1063, allocations: 52.38 kB / 498.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.107, allocations: 452.4 kB / 498.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1071, allocations: 33.12 kB / 498.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.1072, allocations: 36 kB / 498.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.1079, allocations: 486.5 kB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1079, allocations: 0 / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.108, allocations: 16 kB / 499.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.1081, allocations: 28.62 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1087, allocations: 366.6 kB / 499.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.1109, allocations: 1.711 MB / 0.4898 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.1115, allocations: 406.3 kB / 0.4902 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.1119, allocations: 202.2 kB / 0.4904 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.112, allocations: 4 kB / 0.4904 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/0.1124, allocations: 283.6 kB / 0.4906 GB, free: 9.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.1124, allocations: 0 / 0.4906 GB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002222/0.1146, allocations: 1.392 MB / 0.492 GB, free: 7.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.1147, allocations: 148.6 kB / 0.4921 GB, free: 7.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.1151, allocations: 365.7 kB / 0.4925 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1151, allocations: 37.7 kB / 0.4925 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1153, allocations: 255.9 kB / 0.4928 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.1154, allocations: 110.5 kB / 0.4929 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1155, allocations: 82.16 kB / 0.4929 GB, free: 6.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1156, allocations: 358.8 kB / 0.4933 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1159, allocations: 129.1 kB / 0.4934 GB, free: 6.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.1162, allocations: 260.1 kB / 0.4937 GB, free: 6.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.1167, allocations: 441.5 kB / 0.4941 GB, free: 5.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1167, allocations: 8 kB / 0.4941 GB, free: 5.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008344/0.1176, allocations: 0.5307 MB / 0.4946 GB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.1176, allocations: 34.17 kB / 0.4946 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.1176, allocations: 8 kB / 0.4946 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.1179, allocations: 77.67 kB / 0.4947 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.1182, allocations: 63.91 kB / 0.4948 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.1205, allocations: 3.003 MB / 0.4977 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.1207, allocations: 35.84 kB / 0.4977 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.1208, allocations: 16 kB / 0.4978 GB, free: 1.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.121, allocations: 243.4 kB / 0.498 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.1211, allocations: 39.53 kB / 0.498 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.1219, allocations: 0.4966 MB / 0.4985 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.122, allocations: 3.984 kB / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.122, allocations: 0 / 0.4985 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1221, allocations: 124.5 kB / 0.4986 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.1221, allocations: 15.98 kB / 0.4987 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1224, allocations: 15.98 kB / 0.4987 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.1225, allocations: 35.95 kB / 0.4987 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001045/0.1235, allocations: 0.6859 MB / 0.4994 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009959/0.1245, allocations: 0.8726 MB / 0.5002 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002643/0.1248, allocations: 175.9 kB / 0.5004 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1251, allocations: 263.2 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.1251, allocations: 4.031 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1262, allocations: 0.5812 MB / 0.5012 GB, free: 13.78 MB / 398.1 MB Notification: Performance of SimCode: time 0.001828/0.128, allocations: 1.46 MB / 0.5026 GB, free: 12.25 MB / 398.1 MB Notification: Performance of Templates: time 0.01091/0.1389, allocations: 5.623 MB / 0.5081 GB, free: 6.621 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)