Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002609/0.002614, allocations: 362.4 kB / 17.21 MB, free: 4.926 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.889/3.889, allocations: 388.9 MB / 406.8 MB, free: 11.97 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.003518/0.003518, allocations: 231.9 kB / 452.2 MB, free: 14.56 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.7326/0.7326, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004577, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.09316, allocations: 53.24 MB / 0.6742 GB, free: 60.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.006672/0.09989, allocations: 5.376 MB / 0.6795 GB, free: 55.4 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.1031, allocations: 1.762 MB / 0.6812 GB, free: 53.63 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.1035, allocations: 35.75 kB / 0.6812 GB, free: 53.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1039, allocations: 115.2 kB / 0.6813 GB, free: 53.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009343/0.1049, allocations: 330 kB / 0.6817 GB, free: 53.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.1054, allocations: 167.7 kB / 0.6818 GB, free: 52.99 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008845/0.1063, allocations: 0.7393 MB / 0.6825 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000461/0.1068, allocations: 325.2 kB / 0.6828 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1071, allocations: 227 kB / 0.6831 GB, free: 51.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.1076, allocations: 263 kB / 0.6833 GB, free: 51.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.1076, allocations: 24 kB / 0.6833 GB, free: 51.42 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.1077, allocations: 24 kB / 0.6834 GB, free: 51.4 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1079, allocations: 127.6 kB / 0.6835 GB, free: 51.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.108, allocations: 125.5 kB / 0.6836 GB, free: 51.14 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.1085, allocations: 450.8 kB / 0.684 GB, free: 50.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1085, allocations: 0 / 0.684 GB, free: 50.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1085, allocations: 11.86 kB / 0.684 GB, free: 50.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1085, allocations: 0 / 0.684 GB, free: 50.69 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001486/0.11, allocations: 0.6995 MB / 0.6847 GB, free: 49.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1101, allocations: 12.03 kB / 0.6847 GB, free: 49.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1102, allocations: 55.33 kB / 0.6848 GB, free: 49.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.111, allocations: 418.9 kB / 0.6852 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1111, allocations: 66.64 kB / 0.6853 GB, free: 49.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.1112, allocations: 51.89 kB / 0.6853 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1123, allocations: 0.5048 MB / 0.6858 GB, free: 48.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.1123, allocations: 3.938 kB / 0.6858 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.1124, allocations: 16 kB / 0.6858 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1124, allocations: 15.98 kB / 0.6858 GB, free: 48.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.1133, allocations: 343.7 kB / 0.6862 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.1161, allocations: 1.98 MB / 0.6881 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.1167, allocations: 223.7 kB / 0.6883 GB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.1171, allocations: 98.59 kB / 0.6884 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1171, allocations: 4 kB / 0.6884 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1171, allocations: 38.5 kB / 0.6884 GB, free: 45.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.455e-06/0.1171, allocations: 0 / 0.6884 GB, free: 45.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.002706/0.1199, allocations: 1.093 MB / 0.6895 GB, free: 44.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1199, allocations: 110.8 kB / 0.6896 GB, free: 44.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.1203, allocations: 329.6 kB / 0.6899 GB, free: 44.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1204, allocations: 33.7 kB / 0.69 GB, free: 44.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1205, allocations: 271.6 kB / 0.6902 GB, free: 43.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.1206, allocations: 78.91 kB / 0.6903 GB, free: 43.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.1206, allocations: 12 kB / 0.6903 GB, free: 43.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.1207, allocations: 342.8 kB / 0.6906 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.121, allocations: 87.89 kB / 0.6907 GB, free: 43.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.1214, allocations: 225 kB / 0.6909 GB, free: 43.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.1226, allocations: 304.9 kB / 0.6912 GB, free: 42.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1226, allocations: 0 / 0.6912 GB, free: 42.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00123/0.1239, allocations: 438.2 kB / 0.6916 GB, free: 42.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1239, allocations: 4 kB / 0.6916 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1239, allocations: 4 kB / 0.6916 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.1244, allocations: 76.8 kB / 0.6917 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.1248, allocations: 75.89 kB / 0.6918 GB, free: 42.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.1269, allocations: 1.757 MB / 0.6935 GB, free: 40.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.1273, allocations: 23.98 kB / 0.6935 GB, free: 40.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.1273, allocations: 16 kB / 0.6935 GB, free: 40.29 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.1276, allocations: 193.7 kB / 0.6937 GB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.1277, allocations: 31.62 kB / 0.6938 GB, free: 40.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.1278, allocations: 43.38 kB / 0.6938 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1278, allocations: 7.938 kB / 0.6938 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1278, allocations: 0 / 0.6938 GB, free: 40.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1279, allocations: 120.6 kB / 0.6939 GB, free: 39.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.128, allocations: 11.94 kB / 0.6939 GB, free: 39.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.1283, allocations: 11.98 kB / 0.6939 GB, free: 39.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.1284, allocations: 15.97 kB / 0.694 GB, free: 39.84 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/0.1296, allocations: 0.5079 MB / 0.6945 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001033/0.1307, allocations: 0.6489 MB / 0.6951 GB, free: 38.65 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003103/0.131, allocations: 91.94 kB / 0.6952 GB, free: 38.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1313, allocations: 227.2 kB / 0.6954 GB, free: 38.34 MB / 442.7 MB Notification: Performance of Backend: time 8.72e-07/0.1313, allocations: 0 / 0.6954 GB, free: 38.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.1326, allocations: 393.2 kB / 0.6958 GB, free: 37.94 MB / 442.7 MB Notification: Performance of SimCode: time 0.002229/0.1348, allocations: 1.682 MB / 0.6974 GB, free: 36.21 MB / 442.7 MB Notification: Performance of Templates: time 0.01192/0.1468, allocations: 4.306 MB / 0.7016 GB, free: 31.92 MB / 442.7 MB