Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 107.4 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.1 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 192.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03504/0.03504, allocations: 8.791 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 83.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08672, allocations: 51.55 MB / 0.504 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.004218/0.09098, allocations: 2.875 MB / 0.5068 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09227, allocations: 0.6544 MB / 0.5075 GB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.09255, allocations: 4 kB / 0.5075 GB, free: 5.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.09277, allocations: 55.52 kB / 0.5075 GB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.09308, allocations: 87.19 kB / 0.5076 GB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.09329, allocations: 91.83 kB / 0.5077 GB, free: 5.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000408/0.0937, allocations: 370.4 kB / 0.5081 GB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.09396, allocations: 148.5 kB / 0.5082 GB, free: 5.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.09415, allocations: 135.5 kB / 0.5083 GB, free: 5.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.09438, allocations: 163.2 kB / 0.5085 GB, free: 4.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.09445, allocations: 36 kB / 0.5085 GB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.525e-05/0.09452, allocations: 36 kB / 0.5086 GB, free: 4.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.09458, allocations: 67.83 kB / 0.5086 GB, free: 4.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.09473, allocations: 167.2 kB / 0.5088 GB, free: 4.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.09513, allocations: 426.5 kB / 0.5092 GB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.09514, allocations: 0 / 0.5092 GB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09515, allocations: 4 kB / 0.5092 GB, free: 4.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.09517, allocations: 0 / 0.5092 GB, free: 4.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001126/0.09631, allocations: 0.5888 MB / 0.5098 GB, free: 3.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.09635, allocations: 8.031 kB / 0.5098 GB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.09644, allocations: 36.56 kB / 0.5098 GB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.09683, allocations: 275.7 kB / 0.5101 GB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.09686, allocations: 25.03 kB / 0.5101 GB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.09692, allocations: 32.28 kB / 0.5101 GB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.09744, allocations: 270.2 kB / 0.5104 GB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.09747, allocations: 4 kB / 0.5104 GB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.0975, allocations: 8 kB / 0.5104 GB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.09751, allocations: 8 kB / 0.5104 GB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.09796, allocations: 214.5 kB / 0.5106 GB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.0995, allocations: 1.029 MB / 0.5116 GB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.09988, allocations: 154.4 kB / 0.5118 GB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.1001, allocations: 76.83 kB / 0.5118 GB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1001, allocations: 3.938 kB / 0.5118 GB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1001, allocations: 30.56 kB / 0.5119 GB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1001, allocations: 4 kB / 0.5119 GB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001418/0.1016, allocations: 0.6894 MB / 0.5125 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1016, allocations: 55.41 kB / 0.5126 GB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1018, allocations: 195.2 kB / 0.5128 GB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1019, allocations: 29.7 kB / 0.5128 GB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.102, allocations: 184.1 kB / 0.513 GB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.102, allocations: 63.3 kB / 0.513 GB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.1021, allocations: 45.61 kB / 0.5131 GB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1022, allocations: 322.8 kB / 0.5134 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1024, allocations: 63.95 kB / 0.5135 GB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1026, allocations: 96.27 kB / 0.5136 GB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.103, allocations: 173.2 kB / 0.5137 GB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.103, allocations: 0 / 0.5137 GB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004612/0.1034, allocations: 235.9 kB / 0.5139 GB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1035, allocations: 8 kB / 0.514 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1035, allocations: 0 / 0.514 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.1036, allocations: 16.98 kB / 0.514 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.1038, allocations: 51.91 kB / 0.514 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009619/0.1048, allocations: 1.371 MB / 0.5154 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1049, allocations: 8.031 kB / 0.5154 GB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1049, allocations: 8 kB / 0.5154 GB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1051, allocations: 149.6 kB / 0.5155 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.1052, allocations: 27.84 kB / 0.5155 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.1052, allocations: 21.88 kB / 0.5156 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1052, allocations: 0 / 0.5156 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1052, allocations: 0 / 0.5156 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1053, allocations: 100.8 kB / 0.5157 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1053, allocations: 0 / 0.5157 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1055, allocations: 15.98 kB / 0.5157 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1055, allocations: 7.984 kB / 0.5157 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005789/0.1061, allocations: 277.7 kB / 0.5159 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005708/0.1067, allocations: 431.8 kB / 0.5164 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001627/0.1069, allocations: 68.02 kB / 0.5164 GB, free: 12.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.107, allocations: 148.2 kB / 0.5166 GB, free: 12.12 MB / 366.1 MB Notification: Performance of Backend: time 7.42e-07/0.107, allocations: 0 / 0.5166 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.1077, allocations: 295.2 kB / 0.5168 GB, free: 11.81 MB / 366.1 MB Notification: Performance of SimCode: time 0.001208/0.1089, allocations: 1.118 MB / 0.5179 GB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.005872/0.1148, allocations: 2.67 MB / 0.5205 GB, free: 7.996 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1)