Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.363/1.363, allocations: 222.9 MB / 239.6 MB, free: 4.762 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.001362/0.001362, allocations: 176.5 kB / 289.9 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03485/0.03485, allocations: 8.792 MB / 348.9 MB, free: 4.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 77.44 kB / 411.2 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07773/0.07925, allocations: 51.56 MB / 462.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01811/0.0974, allocations: 18.58 MB / 481.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1085, allocations: 4.965 MB / 486.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.1121, allocations: 151.5 kB / 486.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01771/0.1298, allocations: 7.802 MB / 494.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007231/0.1371, allocations: 1.943 MB / 496.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.1417, allocations: 1.474 MB / 497.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01311/0.1548, allocations: 10.69 MB / 0.4965 GB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04377/0.1987, allocations: 29.36 MB / 0.5252 GB, free: 3.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1863/0.385, allocations: 6.122 MB / 0.5311 GB, free: 27.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009577/0.3946, allocations: 6.855 MB / 0.5378 GB, free: 26.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005456/0.4001, allocations: 1.625 MB / 0.5394 GB, free: 26.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/0.4078, allocations: 1.908 MB / 0.5413 GB, free: 26.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005903/0.4137, allocations: 3.311 MB / 0.5445 GB, free: 26.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.4252, allocations: 6.396 MB / 0.5508 GB, free: 24.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.4403, allocations: 19.11 MB / 0.5694 GB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4404, allocations: 0 / 0.5694 GB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4404, allocations: 0.9375 kB / 0.5694 GB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006127/0.441, allocations: 0 / 0.5694 GB, free: 15.65 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.03718/0.4782, allocations: 13.84 MB / 0.583 GB, free: 7.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4782, allocations: 10.88 kB / 0.583 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04079/0.519, allocations: 7.855 MB / 0.5906 GB, free: 172 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.5324, allocations: 6.556 MB / 0.597 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007273/0.5331, allocations: 0.8086 MB / 0.5978 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004178/0.5373, allocations: 1.061 MB / 0.5989 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04342/0.5808, allocations: 17.81 MB / 0.6163 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.5812, allocations: 15.89 kB / 0.6163 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00341/0.5847, allocations: 447 kB / 0.6167 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000685/0.5854, allocations: 0.5816 MB / 0.6173 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/0.6184, allocations: 16.24 MB / 0.6331 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09055/0.709, allocations: 53.31 MB / 0.6852 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.196/0.9051, allocations: 15.83 MB / 0.7006 GB, free: 141.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005817/0.911, allocations: 3.82 MB / 0.7044 GB, free: 141.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.9116, allocations: 192.8 kB / 0.7046 GB, free: 141.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/0.9117, allocations: 92.03 kB / 0.7046 GB, free: 141.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 9.497e-06/0.9117, allocations: 1.156 kB / 0.7046 GB, free: 141.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.02503/0.9367, allocations: 10.85 MB / 0.7152 GB, free: 140.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.9368, allocations: 136.9 kB / 0.7154 GB, free: 140.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/0.9443, allocations: 3.499 MB / 0.7188 GB, free: 140.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008701/0.9452, allocations: 102 kB / 0.7189 GB, free: 140.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.9478, allocations: 4.322 MB / 0.7231 GB, free: 138.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002003/0.9498, allocations: 1.71 MB / 0.7248 GB, free: 137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00469/0.9545, allocations: 1.318 MB / 0.7261 GB, free: 136.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.9546, allocations: 301.1 kB / 0.7264 GB, free: 136 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/0.9604, allocations: 3.344 MB / 0.7296 GB, free: 134.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/0.9683, allocations: 5.692 MB / 0.7352 GB, free: 130.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/0.9797, allocations: 9.666 MB / 0.7446 GB, free: 124.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-05/0.9798, allocations: 23.81 kB / 0.7446 GB, free: 124.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01773/0.9975, allocations: 10.42 MB / 0.7548 GB, free: 120.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.9977, allocations: 37.72 kB / 0.7549 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/0.9979, allocations: 76 kB / 0.7549 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/1.001, allocations: 1.083 MB / 0.756 GB, free: 119.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005392/1.006, allocations: 1.517 MB / 0.7575 GB, free: 118.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.019, allocations: 13.55 MB / 0.7707 GB, free: 105.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.024, allocations: 0.8595 MB / 0.7715 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.025, allocations: 319.3 kB / 0.7718 GB, free: 104.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (796): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008269/1.034, allocations: 4.112 MB / 0.7759 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.035, allocations: 403 kB / 0.7762 GB, free: 99.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.049, allocations: 8.007 MB / 0.7841 GB, free: 91.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009225/1.059, allocations: 6.645 MB / 0.7906 GB, free: 85.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/1.059, allocations: 12 kB / 0.7906 GB, free: 85.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-05/1.059, allocations: 27.91 kB / 0.7906 GB, free: 85.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0331/1.092, allocations: 17.94 MB / 0.8081 GB, free: 66.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/1.092, allocations: 15.81 kB / 0.8081 GB, free: 66.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003645/1.096, allocations: 0.9526 MB / 0.8091 GB, free: 66.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.098, allocations: 0.9816 MB / 0.81 GB, free: 65.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008103/1.099, allocations: 124 kB / 0.8101 GB, free: 64.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.111, allocations: 13.29 MB / 0.8231 GB, free: 51.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.111, allocations: 23.81 kB / 0.8231 GB, free: 51.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.129, allocations: 12.37 MB / 0.8352 GB, free: 38.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002848/1.131, allocations: 1.131 MB / 0.8363 GB, free: 37.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.133, allocations: 112 kB / 0.8364 GB, free: 36.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.136, allocations: 323.6 kB / 0.8367 GB, free: 36.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/1.137, allocations: 403.7 kB / 0.8371 GB, free: 36.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006206/1.138, allocations: 168 kB / 0.8373 GB, free: 36.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003652/1.141, allocations: 2.358 MB / 0.8396 GB, free: 33.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/1.141, allocations: 0 / 0.8396 GB, free: 33.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008238/1.15, allocations: 2.652 MB / 0.8422 GB, free: 31 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/1.151, allocations: 319.2 kB / 0.8425 GB, free: 30.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02625/1.177, allocations: 15.3 MB / 0.8574 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.935e-05/1.177, allocations: 15.59 kB / 0.8574 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006499/1.184, allocations: 4.334 MB / 0.8617 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006365/1.19, allocations: 0.9515 MB / 0.8626 GB, free: 9.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03988/1.23, allocations: 23.37 MB / 0.8854 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1938/1.424, allocations: 6.797 MB / 0.8921 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.426, allocations: 424.8 kB / 0.8925 GB, free: 143 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.426, allocations: 0 / 0.8925 GB, free: 143 MB / 494.1 MB Notification: Performance of Templates: time 0.5489/1.975, allocations: 354.2 MB / 1.238 GB, free: 14.32 MB / 0.4981 GB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1)