Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00264/0.00264, 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.717/3.717, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.004493/0.004493, allocations: 221.7 kB / 452.2 MB, free: 14.59 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.7298/0.7298, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004546, allocations: 12 kB / 0.6223 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09403, allocations: 53.23 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.01083/0.1049, allocations: 6.363 MB / 0.6804 GB, free: 54.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007626/0.1126, allocations: 2.779 MB / 0.6832 GB, free: 51.63 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008514/0.1135, allocations: 47.69 kB / 0.6832 GB, free: 51.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.1145, allocations: 210.6 kB / 0.6834 GB, free: 51.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1168, allocations: 0.5597 MB / 0.684 GB, free: 50.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.118, allocations: 251.5 kB / 0.6842 GB, free: 50.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.1204, allocations: 1.332 MB / 0.6855 GB, free: 49.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.122, allocations: 0.7793 MB / 0.6863 GB, free: 48.42 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008909/0.1229, allocations: 382.4 kB / 0.6866 GB, free: 48.04 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1241, allocations: 0.4944 MB / 0.6871 GB, free: 47.55 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1243, allocations: 40 kB / 0.6871 GB, free: 47.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.1252, allocations: 267.5 kB / 0.6874 GB, free: 47.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.1257, allocations: 287.2 kB / 0.6877 GB, free: 46.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.1259, allocations: 181.3 kB / 0.6878 GB, free: 46.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.1277, allocations: 1.056 MB / 0.6889 GB, free: 45.72 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1278, allocations: 0 / 0.6889 GB, free: 45.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1278, allocations: 0 / 0.6889 GB, free: 45.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1278, allocations: 0 / 0.6889 GB, free: 45.72 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003475/0.1313, allocations: 1.004 MB / 0.6899 GB, free: 44.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1314, allocations: 8.031 kB / 0.6899 GB, free: 44.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.1327, allocations: 130.9 kB / 0.69 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.1347, allocations: 0.6506 MB / 0.6906 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.1349, allocations: 79.69 kB / 0.6907 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.1352, allocations: 71.84 kB / 0.6908 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.1381, allocations: 0.953 MB / 0.6917 GB, free: 42.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.245e-05/0.1381, allocations: 4 kB / 0.6917 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.1383, allocations: 28 kB / 0.6917 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.1385, allocations: 57.28 kB / 0.6918 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.1414, allocations: 0.7857 MB / 0.6925 GB, free: 41.81 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008861/0.1503, allocations: 3.868 MB / 0.6963 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.1519, allocations: 0.5168 MB / 0.6968 GB, free: 37.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.1528, allocations: 238.5 kB / 0.6971 GB, free: 36.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-05/0.1529, allocations: 7.984 kB / 0.6971 GB, free: 36.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.153, allocations: 46.48 kB / 0.6971 GB, free: 36.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 4.398e-06/0.153, allocations: 0 / 0.6971 GB, free: 36.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.02086/0.1738, allocations: 3.808 MB / 0.7008 GB, free: 32.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1739, allocations: 111.2 kB / 0.7009 GB, free: 32.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.1747, allocations: 0.5183 MB / 0.7014 GB, free: 32.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.168e-05/0.1748, allocations: 37.7 kB / 0.7015 GB, free: 32.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1751, allocations: 399 kB / 0.7019 GB, free: 31.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1753, allocations: 197.2 kB / 0.702 GB, free: 31.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1754, allocations: 8 kB / 0.7021 GB, free: 31.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1755, allocations: 378.8 kB / 0.7024 GB, free: 31.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.1762, allocations: 281.8 kB / 0.7027 GB, free: 30.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.177, allocations: 0.5033 MB / 0.7032 GB, free: 30.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.1779, allocations: 368.6 kB / 0.7035 GB, free: 29.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1779, allocations: 0 / 0.7035 GB, free: 29.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00511/0.183, allocations: 1.457 MB / 0.7049 GB, free: 28.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.1831, allocations: 8 kB / 0.705 GB, free: 28.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.1831, allocations: 8.25 kB / 0.705 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.1856, allocations: 455 kB / 0.7054 GB, free: 27.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.1864, allocations: 115.8 kB / 0.7055 GB, free: 27.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.1994, allocations: 8.443 MB / 0.7138 GB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009053/0.2004, allocations: 32.05 kB / 0.7138 GB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.2005, allocations: 31.98 kB / 0.7138 GB, free: 18.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 9,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005401/0.201, allocations: 309.5 kB / 0.7141 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2012, allocations: 71.3 kB / 0.7142 GB, free: 18.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.206, allocations: 1.314 MB / 0.7155 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.206, allocations: 3.984 kB / 0.7155 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.206, allocations: 4 kB / 0.7155 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.2064, allocations: 192.3 kB / 0.7157 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.2065, allocations: 15.95 kB / 0.7157 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.2072, allocations: 19.98 kB / 0.7157 GB, free: 16.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.2074, allocations: 68.44 kB / 0.7158 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004796/0.2122, allocations: 1.371 MB / 0.7171 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002345/0.2145, allocations: 1.335 MB / 0.7184 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007199/0.2153, allocations: 324.3 kB / 0.7187 GB, free: 13.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.2158, allocations: 362.8 kB / 0.7191 GB, free: 13.33 MB / 442.7 MB Notification: Performance of Backend: time 5.21e-07/0.2159, allocations: 0 / 0.7191 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.219, allocations: 1.241 MB / 0.7203 GB, free: 12.04 MB / 442.7 MB Notification: Performance of SimCode: time 0.003764/0.2228, allocations: 2.59 MB / 0.7228 GB, free: 9.391 MB / 442.7 MB Notification: Performance of Templates: time 0.3157/0.5385, allocations: 12.81 MB / 0.7353 GB, free: 124.6 MB / 442.7 MB