Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002651/0.002651, allocations: 363.1 kB / 17.22 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.845/3.845, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003711/0.00371, allocations: 231.8 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7961/0.7961, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004575, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09374, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006172/0.09996, allocations: 4.78 MB / 0.6789 GB, free: 56.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1032, allocations: 1.61 MB / 0.6805 GB, free: 54.41 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.1037, allocations: 27.81 kB / 0.6805 GB, free: 54.38 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1041, allocations: 95.33 kB / 0.6806 GB, free: 54.29 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.105, allocations: 282.2 kB / 0.6809 GB, free: 54.01 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.1055, allocations: 135.7 kB / 0.681 GB, free: 53.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.1064, allocations: 0.6187 MB / 0.6816 GB, free: 53.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.1069, allocations: 280.4 kB / 0.6819 GB, free: 52.97 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.1072, allocations: 179.2 kB / 0.682 GB, free: 52.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.1076, allocations: 219.1 kB / 0.6822 GB, free: 52.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.1077, allocations: 20 kB / 0.6823 GB, free: 52.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.1078, allocations: 20 kB / 0.6823 GB, free: 52.54 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1079, allocations: 103.6 kB / 0.6824 GB, free: 52.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.108, allocations: 109.5 kB / 0.6825 GB, free: 52.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.1085, allocations: 391 kB / 0.6828 GB, free: 51.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1085, allocations: 0 / 0.6828 GB, free: 51.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1085, allocations: 0 / 0.6828 GB, free: 51.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1085, allocations: 0 / 0.6828 GB, free: 51.95 MB / 442.7 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.001453/0.11, allocations: 0.6482 MB / 0.6835 GB, free: 51.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.11, allocations: 8.031 kB / 0.6835 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1102, allocations: 47.44 kB / 0.6835 GB, free: 51.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.1109, allocations: 383.1 kB / 0.6839 GB, free: 50.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.111, allocations: 54.7 kB / 0.6839 GB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.1111, allocations: 43.91 kB / 0.684 GB, free: 50.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.112, allocations: 432 kB / 0.6844 GB, free: 50.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.112, allocations: 11.94 kB / 0.6844 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.1121, allocations: 12 kB / 0.6844 GB, free: 50.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1121, allocations: 8 kB / 0.6844 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.1129, allocations: 278 kB / 0.6847 GB, free: 49.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.1156, allocations: 1.838 MB / 0.6865 GB, free: 47.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.1162, allocations: 191.6 kB / 0.6867 GB, free: 47.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.1164, allocations: 78.55 kB / 0.6868 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1165, allocations: 4.281 kB / 0.6868 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1165, allocations: 34.56 kB / 0.6868 GB, free: 47.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 3.426e-06/0.1165, allocations: 4 kB / 0.6868 GB, free: 47.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.002249/0.1188, allocations: 0.9211 MB / 0.6877 GB, free: 46.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1188, allocations: 110.8 kB / 0.6878 GB, free: 46.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.1192, allocations: 312.4 kB / 0.6881 GB, free: 46.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1193, allocations: 33.7 kB / 0.6881 GB, free: 46.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1194, allocations: 239.6 kB / 0.6884 GB, free: 45.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.1195, allocations: 74.95 kB / 0.6884 GB, free: 45.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.1195, allocations: 4 kB / 0.6884 GB, free: 45.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.1196, allocations: 346.8 kB / 0.6888 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1199, allocations: 71.97 kB / 0.6888 GB, free: 45.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1202, allocations: 212 kB / 0.689 GB, free: 45.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1205, allocations: 104.8 kB / 0.6891 GB, free: 45.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1205, allocations: 4 kB / 0.6891 GB, free: 45.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008254/0.1214, allocations: 341.4 kB / 0.6895 GB, free: 44.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1214, allocations: 8 kB / 0.6895 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1214, allocations: 4.562 kB / 0.6895 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.1215, allocations: 15.94 kB / 0.6895 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.122, allocations: 71.91 kB / 0.6896 GB, free: 44.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.122, allocations: 15.92 kB / 0.6896 GB, free: 44.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.1224, allocations: 12 kB / 0.6896 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.1224, allocations: 16 kB / 0.6896 GB, free: 44.53 MB / 442.7 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.1227, allocations: 177.7 kB / 0.6898 GB, free: 44.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.1228, allocations: 35.61 kB / 0.6898 GB, free: 44.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.1233, allocations: 208.7 kB / 0.69 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1234, allocations: 0 / 0.69 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1234, allocations: 0 / 0.69 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.1235, allocations: 108.7 kB / 0.6901 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.1235, allocations: 8 kB / 0.6901 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.1238, allocations: 4 kB / 0.6901 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.1239, allocations: 15.98 kB / 0.6901 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00101/0.1249, allocations: 460.5 kB / 0.6906 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008646/0.1258, allocations: 0.5945 MB / 0.6912 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000233/0.1261, allocations: 72.34 kB / 0.6912 GB, free: 42.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000276/0.1264, allocations: 215.1 kB / 0.6914 GB, free: 42.6 MB / 442.7 MB Notification: Performance of Backend: time 6.31e-07/0.1264, allocations: 0 / 0.6914 GB, free: 42.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009988/0.1274, allocations: 222.5 kB / 0.6916 GB, free: 42.37 MB / 442.7 MB Notification: Performance of SimCode: time 0.002357/0.1298, allocations: 1.596 MB / 0.6932 GB, free: 40.73 MB / 442.7 MB Notification: Performance of Templates: time 0.01084/0.1406, allocations: 3.506 MB / 0.6966 GB, free: 37.24 MB / 442.7 MB