Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002517/0.00252, allocations: 365.8 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.712/3.712, allocations: 388.9 MB / 406.8 MB, free: 11.89 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.003522/0.003522, allocations: 241.6 kB / 452.3 MB, free: 14.49 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.7112/0.7112, allocations: 76.02 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 8 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09217, allocations: 53.24 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.009195/0.1014, allocations: 7.417 MB / 0.6815 GB, free: 53.38 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.1106, allocations: 4.752 MB / 0.6861 GB, free: 48.61 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1118, allocations: 51.69 kB / 0.6862 GB, free: 48.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.1223, allocations: 4.449 MB / 0.6905 GB, free: 44.11 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1242, allocations: 0.5166 MB / 0.691 GB, free: 43.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1256, allocations: 395.3 kB / 0.6914 GB, free: 43.2 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.1291, allocations: 2.53 MB / 0.6939 GB, free: 40.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.1306, allocations: 1.015 MB / 0.6949 GB, free: 39.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.1313, allocations: 0.5212 MB / 0.6954 GB, free: 39.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1324, allocations: 0.7006 MB / 0.696 GB, free: 38.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.1326, allocations: 48 kB / 0.6961 GB, free: 38.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1329, allocations: 59.98 kB / 0.6962 GB, free: 38.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.1333, allocations: 366.9 kB / 0.6965 GB, free: 37.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1335, allocations: 229.1 kB / 0.6967 GB, free: 37.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1348, allocations: 1.219 MB / 0.6979 GB, free: 36.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1348, allocations: 0 / 0.6979 GB, free: 36.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1349, allocations: 4 kB / 0.6979 GB, free: 36.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.1349, allocations: 0 / 0.6979 GB, free: 36.45 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003615/0.1385, allocations: 1.218 MB / 0.6991 GB, free: 35.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1386, allocations: 12.03 kB / 0.6991 GB, free: 35.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.1391, allocations: 126.5 kB / 0.6992 GB, free: 35.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.1414, allocations: 0.8355 MB / 0.7001 GB, free: 34.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.1415, allocations: 62 kB / 0.7001 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.1417, allocations: 91.89 kB / 0.7002 GB, free: 34.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.1442, allocations: 1.185 MB / 0.7014 GB, free: 32.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.1442, allocations: 0 / 0.7014 GB, free: 32.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.1444, allocations: 35.98 kB / 0.7014 GB, free: 32.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003334/0.1447, allocations: 81.91 kB / 0.7015 GB, free: 32.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.1471, allocations: 0.9875 MB / 0.7024 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007984/0.1551, allocations: 4.23 MB / 0.7066 GB, free: 27.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.157, allocations: 0.8926 MB / 0.7074 GB, free: 26.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009847/0.158, allocations: 432.1 kB / 0.7078 GB, free: 25.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.1581, allocations: 16.53 kB / 0.7079 GB, free: 25.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1581, allocations: 51.06 kB / 0.7079 GB, free: 25.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.938e-06/0.1581, allocations: 0 / 0.7079 GB, free: 25.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=72): time 0.00839/0.1665, allocations: 3.689 MB / 0.7115 GB, free: 21.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1666, allocations: 149.1 kB / 0.7117 GB, free: 21.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.1675, allocations: 0.6489 MB / 0.7123 GB, free: 21.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.1676, allocations: 41.7 kB / 0.7123 GB, free: 21.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.1679, allocations: 451.5 kB / 0.7128 GB, free: 20.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.1682, allocations: 260.3 kB / 0.713 GB, free: 20.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.1683, allocations: 16 kB / 0.713 GB, free: 20.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1684, allocations: 394.7 kB / 0.7134 GB, free: 19.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/0.1693, allocations: 373.8 kB / 0.7138 GB, free: 19.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.1704, allocations: 0.5726 MB / 0.7143 GB, free: 18.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.1817, allocations: 1.519 MB / 0.7158 GB, free: 17.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.1817, allocations: 0 / 0.7158 GB, free: 17.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.009397/0.1911, allocations: 2.028 MB / 0.7178 GB, free: 15.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.1913, allocations: 266.2 kB / 0.718 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1913, allocations: 4 kB / 0.718 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009512/0.2008, allocations: 1.047 MB / 0.7191 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.202, allocations: 139.7 kB / 0.7192 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02902/0.231, allocations: 9.113 MB / 0.7281 GB, free: 4.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.2324, allocations: 36.17 kB / 0.7281 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.2325, allocations: 43.98 kB / 0.7282 GB, free: 4.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2326, allocations: 4 kB / 0.7282 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/0.2441, allocations: 1.832 MB / 0.73 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.2441, allocations: 4 kB / 0.73 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.2547, allocations: 1.001 MB / 0.7309 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.2559, allocations: 127.8 kB / 0.7311 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3124/0.5683, allocations: 8.887 MB / 0.7397 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.5693, allocations: 39.81 kB / 0.7398 GB, free: 123.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5694, allocations: 34.81 kB / 0.7398 GB, free: 123.9 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.asm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {6 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007711/0.5702, allocations: 407.9 kB / 0.7402 GB, free: 123.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.5704, allocations: 91.84 kB / 0.7403 GB, free: 123.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/0.5737, allocations: 1.247 MB / 0.7415 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.5737, allocations: 3.562 kB / 0.7415 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.5738, allocations: 6.266 kB / 0.7415 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.5742, allocations: 232.6 kB / 0.7417 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.5744, allocations: 20.08 kB / 0.7418 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/0.5753, allocations: 36.53 kB / 0.7418 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.5755, allocations: 60.62 kB / 0.7419 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004684/0.5802, allocations: 1.371 MB / 0.7432 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003719/0.5839, allocations: 1.715 MB / 0.7449 GB, free: 121.4 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001087/0.5851, allocations: 431.8 kB / 0.7453 GB, free: 121.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008278/0.5859, allocations: 455.5 kB / 0.7457 GB, free: 121.1 MB / 442.7 MB Notification: Performance of Backend: time 4.71e-07/0.5859, allocations: 0 / 0.7457 GB, free: 121.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007396/0.5933, allocations: 2.253 MB / 0.7479 GB, free: 119.9 MB / 442.7 MB Notification: Performance of SimCode: time 0.006002/0.5994, allocations: 3.188 MB / 0.751 GB, free: 118.1 MB / 442.7 MB Notification: Performance of Templates: time 0.05688/0.6563, allocations: 23.83 MB / 0.7743 GB, free: 111.4 MB / 442.7 MB