Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 110.9 kB / 17.75 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.0009939/0.0009939, allocations: 186.6 kB / 18.68 MB, free: 4.41 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.348/1.348, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1744/0.1744, 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.001423/0.001423, allocations: 79.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09644, allocations: 55.23 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006532/0.103, allocations: 4.81 MB / 492.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.1055, allocations: 1.523 MB / 494.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.1058, allocations: 15.94 kB / 494.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.1062, allocations: 111.1 kB / 494.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.107, allocations: 266.4 kB / 494.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1074, allocations: 139.8 kB / 494.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.1081, allocations: 0.5838 MB / 495.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004546/0.1085, allocations: 390.5 kB / 495.6 MB, free: 492 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1089, allocations: 251.1 kB / 495.8 MB, free: 240 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.1093, allocations: 243.1 kB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.732e-05/0.1094, allocations: 40 kB / 496.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.1094, allocations: 40 kB / 496.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1096, allocations: 119.6 kB / 496.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1098, allocations: 226.9 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.1103, allocations: 0.5022 MB / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1103, allocations: 0 / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1103, allocations: 0 / 497 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1103, allocations: 8 kB / 497 MB, free: 15.07 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001144/0.1115, allocations: 0.6953 MB / 497.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1115, allocations: 11.89 kB / 497.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/0.1116, allocations: 52.31 kB / 497.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.1122, allocations: 412.2 kB / 498.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.1123, allocations: 66.56 kB / 498.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.1124, allocations: 39.91 kB / 498.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.113, allocations: 432.1 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.113, allocations: 0 / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1131, allocations: 16 kB / 498.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1131, allocations: 8 kB / 498.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.1136, allocations: 274 kB / 499 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1157, allocations: 1.837 MB / 0.4891 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.1161, allocations: 183.7 kB / 0.4893 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1162, allocations: 66.62 kB / 0.4893 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1163, allocations: 7.984 kB / 0.4893 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1163, allocations: 38.5 kB / 0.4894 GB, free: 10.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.1163, allocations: 0 / 0.4894 GB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001334/0.1176, allocations: 0.7098 MB / 0.4901 GB, free: 9.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1177, allocations: 110.8 kB / 0.4902 GB, free: 9.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.1181, allocations: 308.5 kB / 0.4905 GB, free: 9.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1181, allocations: 29.7 kB / 0.4905 GB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1183, allocations: 243.5 kB / 0.4907 GB, free: 9.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.1184, allocations: 79.12 kB / 0.4908 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1185, allocations: 69.88 kB / 0.4909 GB, free: 9.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1187, allocations: 346.8 kB / 0.4912 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1188, allocations: 68.62 kB / 0.4913 GB, free: 8.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1191, allocations: 205.5 kB / 0.4915 GB, free: 8.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.1196, allocations: 292 kB / 0.4917 GB, free: 8.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1196, allocations: 4 kB / 0.4917 GB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005675/0.1201, allocations: 321.3 kB / 0.492 GB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1202, allocations: 11.94 kB / 0.4921 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1202, allocations: 8.031 kB / 0.4921 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1202, allocations: 4 kB / 0.4921 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1205, allocations: 79.89 kB / 0.4921 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.1206, allocations: 11.94 kB / 0.4922 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1208, allocations: 12 kB / 0.4922 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1208, allocations: 16 kB / 0.4922 GB, free: 7.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.121, allocations: 177.7 kB / 0.4924 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.1211, allocations: 39.56 kB / 0.4924 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.1215, allocations: 196.6 kB / 0.4926 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1215, allocations: 0 / 0.4926 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1215, allocations: 0 / 0.4926 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.742e-05/0.1216, allocations: 104.7 kB / 0.4927 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1217, allocations: 8 kB / 0.4927 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1219, allocations: 4 kB / 0.4927 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.1219, allocations: 11.98 kB / 0.4927 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006135/0.1225, allocations: 443.2 kB / 0.4931 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005934/0.1231, allocations: 0.5866 MB / 0.4937 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001469/0.1233, allocations: 67.92 kB / 0.4938 GB, free: 5.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1235, allocations: 219 kB / 0.494 GB, free: 5.648 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.1235, allocations: 0 / 0.494 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007475/0.1243, allocations: 222.9 kB / 0.4942 GB, free: 5.426 MB / 382.1 MB Notification: Performance of SimCode: time 0.001754/0.126, allocations: 1.349 MB / 0.4955 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Templates: time 0.008335/0.1344, allocations: 3.914 MB / 0.4993 GB, free: 116 kB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)