Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001516/0.001516, allocations: 197.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007642/0.0007643, allocations: 93.58 kB / 297.5 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000223/0.000223, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.5944, allocations: 114.1 MB / 0.5112 GB, free: 98.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5946, allocations: 91.02 kB / 0.5113 GB, free: 98.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.126/0.7207, allocations: 57.4 MB / 0.5674 GB, free: 45.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.7207, allocations: 0 / 0.5674 GB, free: 45.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.721, allocations: 59.94 kB / 0.5674 GB, free: 45.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 662 * Number of variables: 662 Notification: Performance of Generate backend data structure: time 0.00575/0.7267, allocations: 2.545 MB / 0.5699 GB, free: 42.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.7268, allocations: 12.03 kB / 0.5699 GB, free: 42.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.7281, allocations: 373.1 kB / 0.5703 GB, free: 42.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.7311, allocations: 1.578 MB / 0.5718 GB, free: 40.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7313, allocations: 198.3 kB / 0.572 GB, free: 40.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005446/0.7318, allocations: 267.9 kB / 0.5723 GB, free: 40.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.7367, allocations: 2.481 MB / 0.5747 GB, free: 37.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.842e-05/0.7368, allocations: 11.91 kB / 0.5747 GB, free: 37.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00029/0.7371, allocations: 115.9 kB / 0.5748 GB, free: 37.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.7371, allocations: 64 kB / 0.5749 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.7406, allocations: 1.697 MB / 0.5765 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.754, allocations: 10.58 MB / 0.5869 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.7558, allocations: 1.008 MB / 0.5879 GB, free: 23.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/0.7568, allocations: 499.6 kB / 0.5883 GB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.7568, allocations: 13 kB / 0.5883 GB, free: 23.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.7569, allocations: 47.56 kB / 0.5884 GB, free: 23.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.096e-06/0.7569, allocations: 0 / 0.5884 GB, free: 23.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.005187/0.7621, allocations: 2.785 MB / 0.5911 GB, free: 20.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.7621, allocations: 123.7 kB / 0.5912 GB, free: 20.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.7643, allocations: 1.522 MB / 0.5927 GB, free: 18.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.7644, allocations: 41.7 kB / 0.5928 GB, free: 18.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/0.7651, allocations: 1.3 MB / 0.594 GB, free: 17.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.7653, allocations: 339.2 kB / 0.5943 GB, free: 17.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.7653, allocations: 36 kB / 0.5944 GB, free: 17.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.7654, allocations: 369.9 kB / 0.5947 GB, free: 16.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.7662, allocations: 427.8 kB / 0.5951 GB, free: 16.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.7671, allocations: 1.13 MB / 0.5962 GB, free: 14.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7689, allocations: 1.642 MB / 0.5978 GB, free: 12.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.7689, allocations: 8 kB / 0.5979 GB, free: 12.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=215) (initialization): time 0.002792/0.7717, allocations: 1.723 MB / 0.5995 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.7722, allocations: 0.7711 MB / 0.6003 GB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/0.7723, allocations: 24 kB / 0.6003 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.7725, allocations: 56.84 kB / 0.6004 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7738, allocations: 411.3 kB / 0.6008 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009163/0.7747, allocations: 1.323 MB / 0.6021 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.7761, allocations: 91.88 kB / 0.6021 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.7763, allocations: 88.08 kB / 0.6022 GB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.7763, allocations: 6.812 kB / 0.6022 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/0.7785, allocations: 1.473 MB / 0.6037 GB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.752e-05/0.7785, allocations: 24 kB / 0.6037 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.7787, allocations: 56.78 kB / 0.6037 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.7797, allocations: 400 kB / 0.6041 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006468/0.7804, allocations: 1.323 MB / 0.6054 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7817, allocations: 87.81 kB / 0.6055 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7819, allocations: 76 kB / 0.6056 GB, free: 4.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep.y,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 213 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001125/0.783, allocations: 0.563 MB / 0.6061 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.7833, allocations: 177.8 kB / 0.6063 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.785, allocations: 0.95 MB / 0.6072 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.785, allocations: 8 kB / 0.6072 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.785, allocations: 7.938 kB / 0.6072 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7851, allocations: 3.984 kB / 0.6072 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.7899, allocations: 2.935 MB / 0.6101 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.7899, allocations: 4 kB / 0.6101 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.7907, allocations: 200.2 kB / 0.6103 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.7909, allocations: 36.78 kB / 0.6103 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.7909, allocations: 23.98 kB / 0.6104 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.7918, allocations: 1.288 MB / 0.6116 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.7918, allocations: 7.938 kB / 0.6116 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.7944, allocations: 1.516 MB / 0.6131 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/0.7951, allocations: 318.8 kB / 0.6134 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003583/0.7954, allocations: 31.98 kB / 0.6134 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7965, allocations: 63.95 kB / 0.6135 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.7967, allocations: 68.45 kB / 0.6136 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.7968, allocations: 24 kB / 0.6136 GB, free: 11.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002218/0.799, allocations: 0.9926 MB / 0.6146 GB, free: 10.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.799, allocations: 0 / 0.6146 GB, free: 10.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003208/0.8022, allocations: 0.8087 MB / 0.6153 GB, free: 9.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.la.i,coupling.flange_a.phi,dcdcInverter1.vDCFilter.y,dcdcInverter1.iMotFilter.y,dcdcInverter1.vMotFilter.y,dcdcInverter1.iDCFilter.y,dcdcInverter1.idealDcDc.deadTime.y,dcdcInverter1.idealDcDc.powerController.y,dcdcInverter2.vDCFilter.y,dcdcInverter2.iMotFilter.y,dcdcInverter2.vMotFilter.y,dcdcInverter2.iDCFilter.y,dcdcInverter2.idealDcDc.deadTime.y,dcdcInverter2.idealDcDc.powerController.y) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005653/0.8028, allocations: 321 kB / 0.6157 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.8068, allocations: 2.07 MB / 0.6177 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8068, allocations: 0 / 0.6177 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.8077, allocations: 0.5424 MB / 0.6182 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.811, allocations: 420.2 kB / 0.6186 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009245/0.8203, allocations: 4.871 MB / 0.6234 GB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001841/0.8222, allocations: 1.479 MB / 0.6248 GB, free: 132 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001645/0.8238, allocations: 246.4 kB / 0.625 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.8242, allocations: 115.4 kB / 0.6252 GB, free: 15.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.8242, allocations: 4 kB / 0.6252 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Templates: time 0.04128/0.8655, allocations: 20.62 MB / 0.6453 GB, free: 11.3 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1)