Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002569/0.002569, allocations: 361.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.832/3.832, allocations: 388.9 MB / 406.8 MB, free: 12.03 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.003607/0.003606, allocations: 239.8 kB / 452.3 MB, free: 14.61 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.7875/0.7875, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.0006412, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09677, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007099/0.1039, allocations: 5.563 MB / 0.6797 GB, free: 55.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.1083, allocations: 2.086 MB / 0.6817 GB, free: 53.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.109, allocations: 31.81 kB / 0.6817 GB, free: 53.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.1095, allocations: 139 kB / 0.6819 GB, free: 52.97 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.1108, allocations: 385.8 kB / 0.6822 GB, free: 52.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.1115, allocations: 171.7 kB / 0.6824 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1127, allocations: 0.8953 MB / 0.6833 GB, free: 51.53 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.1133, allocations: 354.2 kB / 0.6836 GB, free: 51.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.1138, allocations: 282.8 kB / 0.6839 GB, free: 50.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.1143, allocations: 314.8 kB / 0.6842 GB, free: 50.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.1144, allocations: 28 kB / 0.6842 GB, free: 50.56 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.1147, allocations: 67.92 kB / 0.6843 GB, free: 50.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.1148, allocations: 151.5 kB / 0.6844 GB, free: 50.35 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.115, allocations: 133.4 kB / 0.6845 GB, free: 50.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.1156, allocations: 0.5493 MB / 0.6851 GB, free: 49.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1157, allocations: 4 kB / 0.6851 GB, free: 49.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1157, allocations: 4 kB / 0.6851 GB, free: 49.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.1157, allocations: 0 / 0.6851 GB, free: 49.65 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00193/0.1176, allocations: 0.8178 MB / 0.6859 GB, free: 48.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1177, allocations: 8.031 kB / 0.6859 GB, free: 48.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1178, allocations: 63.25 kB / 0.6859 GB, free: 48.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1189, allocations: 485.7 kB / 0.6864 GB, free: 48.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.119, allocations: 29 kB / 0.6864 GB, free: 48.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.1191, allocations: 47.95 kB / 0.6865 GB, free: 48.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1202, allocations: 0.5251 MB / 0.687 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1202, allocations: 3.938 kB / 0.687 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.1203, allocations: 20 kB / 0.687 GB, free: 47.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1204, allocations: 17 kB / 0.687 GB, free: 47.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007722/0.1212, allocations: 339.6 kB / 0.6874 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.1243, allocations: 2.07 MB / 0.6894 GB, free: 44.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.1248, allocations: 224 kB / 0.6896 GB, free: 44.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.125, allocations: 94.56 kB / 0.6897 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.1251, allocations: 4 kB / 0.6897 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.1254, allocations: 158.5 kB / 0.6898 GB, free: 44.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 3.717e-06/0.1254, allocations: 3.938 kB / 0.6898 GB, free: 44.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.002526/0.128, allocations: 1.166 MB / 0.691 GB, free: 43.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.128, allocations: 128.5 kB / 0.6911 GB, free: 43.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.1286, allocations: 417.8 kB / 0.6915 GB, free: 42.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1287, allocations: 33.89 kB / 0.6915 GB, free: 42.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1289, allocations: 291.7 kB / 0.6918 GB, free: 42.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.129, allocations: 102.6 kB / 0.6919 GB, free: 42.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.129, allocations: 8 kB / 0.6919 GB, free: 42.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.1291, allocations: 350.8 kB / 0.6923 GB, free: 41.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1293, allocations: 84.83 kB / 0.6923 GB, free: 41.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1297, allocations: 225.5 kB / 0.6926 GB, free: 41.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.13, allocations: 150.4 kB / 0.6927 GB, free: 41.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.13, allocations: 3.984 kB / 0.6927 GB, free: 41.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001332/0.1314, allocations: 487.9 kB / 0.6932 GB, free: 40.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.1315, allocations: 37.69 kB / 0.6932 GB, free: 40.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1315, allocations: 4 kB / 0.6932 GB, free: 40.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.1321, allocations: 88.72 kB / 0.6933 GB, free: 40.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1326, allocations: 75.91 kB / 0.6934 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.135, allocations: 1.699 MB / 0.695 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1355, allocations: 31.94 kB / 0.6951 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.1356, allocations: 12 kB / 0.6951 GB, free: 38.74 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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * 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.000323/0.1359, allocations: 213.7 kB / 0.6953 GB, free: 38.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.136, allocations: 43.44 kB / 0.6953 GB, free: 38.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.1368, allocations: 290 kB / 0.6956 GB, free: 38.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1369, allocations: 7.984 kB / 0.6956 GB, free: 38.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1369, allocations: 0 / 0.6956 GB, free: 38.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.137, allocations: 136.5 kB / 0.6957 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.1371, allocations: 4 kB / 0.6957 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.1374, allocations: 19.98 kB / 0.6957 GB, free: 38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.1375, allocations: 19.97 kB / 0.6958 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001473/0.139, allocations: 0.535 MB / 0.6963 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008077/0.1399, allocations: 0.6646 MB / 0.6969 GB, free: 36.75 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002133/0.1401, allocations: 88.56 kB / 0.697 GB, free: 36.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.1405, allocations: 287.1 kB / 0.6973 GB, free: 36.39 MB / 442.7 MB Notification: Performance of Backend: time 8.92e-07/0.1405, allocations: 0 / 0.6973 GB, free: 36.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.1431, allocations: 0.7366 MB / 0.698 GB, free: 35.67 MB / 442.7 MB Notification: Performance of SimCode: time 0.003/0.1461, allocations: 1.998 MB / 0.7 GB, free: 33.62 MB / 442.7 MB Notification: Performance of Templates: time 0.01635/0.1625, allocations: 6.164 MB / 0.706 GB, free: 27.46 MB / 442.7 MB