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.001405/0.001404, allocations: 186.6 kB / 16.38 MB, free: 5.598 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 1.712/1.712, allocations: 194.5 MB / 211.6 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001762, allocations: 112.7 kB / 256.9 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2255/0.2255, allocations: 38.02 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 15.16 kB / 403.8 MB, free: 55.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07105/0.07155, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004653/0.07624, allocations: 4.589 MB / 461.6 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.07831, allocations: 1.591 MB / 463.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.07857, allocations: 27.81 kB / 463.2 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.07887, allocations: 119.3 kB / 463.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.07944, allocations: 267.2 kB / 463.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.07977, allocations: 131.7 kB / 463.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004713/0.08025, allocations: 367.1 kB / 464.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.08063, allocations: 280.6 kB / 464.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.08086, allocations: 179.3 kB / 464.5 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.08113, allocations: 175.3 kB / 464.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.0812, allocations: 20 kB / 464.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.08129, allocations: 24 kB / 464.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.08138, allocations: 87.73 kB / 464.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.08147, allocations: 109.5 kB / 464.9 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.0818, allocations: 386.9 kB / 465.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149e-06/0.08181, allocations: 4 kB / 465.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.08182, allocations: 0 / 465.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.347e-06/0.08184, allocations: 0 / 465.3 MB, free: 2.004 MB / 298.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.0008703/0.08271, allocations: 0.6522 MB / 466 MB, free: 1.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.08276, allocations: 20 kB / 466 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.08285, allocations: 39.53 kB / 466 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.08334, allocations: 379 kB / 466.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.08344, allocations: 66.69 kB / 466.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.133e-05/0.08351, allocations: 36 kB / 466.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.08422, allocations: 428.1 kB / 466.9 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.08426, allocations: 3.938 kB / 466.9 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.08431, allocations: 19.95 kB / 467 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.08433, allocations: 8 kB / 467 MB, free: 244 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.08496, allocations: 274 kB / 467.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.08753, allocations: 1.841 MB / 469.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.088, allocations: 179.6 kB / 469.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.08805, allocations: 12.05 kB / 469.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.08811, allocations: 46.45 kB / 469.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.459e-06/0.08813, allocations: 0 / 469.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.002086/0.09022, allocations: 0.9168 MB / 470.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.09033, allocations: 107.1 kB / 470.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.09073, allocations: 316.4 kB / 470.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.09078, allocations: 29.7 kB / 470.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.09099, allocations: 243.5 kB / 470.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/0.09108, allocations: 70.98 kB / 471 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.09111, allocations: 11.94 kB / 471 MB, free: 11.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.0913, allocations: 346.8 kB / 471.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.09153, allocations: 67.97 kB / 471.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.09185, allocations: 208 kB / 471.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.09216, allocations: 115.2 kB / 471.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.09218, allocations: 0 / 471.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008169/0.09301, allocations: 329.5 kB / 472 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.09304, allocations: 4 kB / 472 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.09306, allocations: 15.92 kB / 472 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.09309, allocations: 4 kB / 472 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.09344, allocations: 84.47 kB / 472.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.09347, allocations: 4 kB / 472.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.0937, allocations: 19.92 kB / 472.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.09374, allocations: 15.94 kB / 472.2 MB, free: 10.68 MB / 314.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.0002261/0.09398, allocations: 185.7 kB / 472.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.09408, allocations: 35.61 kB / 472.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.09458, allocations: 212.6 kB / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-06/0.09461, allocations: 4 kB / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.506e-06/0.09462, allocations: 0 / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-06/0.09463, allocations: 0 / 472.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.09579, allocations: 0.6317 MB / 473.2 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-06/0.09582, allocations: 4.031 kB / 473.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.09616, allocations: 43.97 kB / 473.3 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.001e-06/0.09618, allocations: 4 kB / 473.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.09621, allocations: 4 kB / 473.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.09624, allocations: 7.938 kB / 473.3 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-06/0.09625, allocations: 3.938 kB / 473.3 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/0.09707, allocations: 0.4895 MB / 473.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.09718, allocations: 100.7 kB / 473.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.09724, allocations: 12 kB / 473.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.09748, allocations: 11.95 kB / 473.9 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.09755, allocations: 19.91 kB / 473.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.09758, allocations: 4 kB / 473.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.09785, allocations: 215.1 kB / 474.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.15e-07/0.09786, allocations: 0 / 474.1 MB, free: 8.574 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000479/0.09835, allocations: 72 kB / 474.2 MB, free: 8.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.motor.w_el) * 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 simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.09847, allocations: 107.2 kB / 474.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000571/0.09906, allocations: 208.5 kB / 474.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.519e-06/0.09907, allocations: 0 / 474.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.0993, allocations: 88.08 kB / 474.6 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.09994, allocations: 81.27 kB / 474.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1019, allocations: 1.128 MB / 475.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.1024, allocations: 0.8187 MB / 476.6 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.1027, allocations: 51.25 kB / 476.7 MB, free: 5.961 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.1027, allocations: 31.36 kB / 476.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.176e-06/0.1027, allocations: 0 / 476.7 MB, free: 5.93 MB / 314.7 MB Notification: Performance of Templates: time 0.008734/0.1115, allocations: 3.122 MB / 479.8 MB, free: 2.82 MB / 314.7 MB