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.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.258/1.258, allocations: 222.9 MB / 238.8 MB, free: 4.691 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.001185/0.001185, allocations: 192.5 kB / 289.1 MB, free: 2.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03151/0.03151, allocations: 8.795 MB / 348.1 MB, free: 4.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 72.14 kB / 410.4 MB, free: 42.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0812/0.08255, allocations: 51.56 MB / 462 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.0171/0.09969, allocations: 18.58 MB / 480.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.1119, allocations: 4.996 MB / 485.5 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004656/0.1166, allocations: 147.6 kB / 485.7 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01605/0.1327, allocations: 7.799 MB / 493.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007903/0.1406, allocations: 1.974 MB / 495.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.1454, allocations: 1.483 MB / 496.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01281/0.1583, allocations: 10.79 MB / 0.4958 GB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03415/0.1924, allocations: 21.27 MB / 0.5166 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.2018, allocations: 5.371 MB / 0.5218 GB, free: 6.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1951/0.397, allocations: 6.585 MB / 0.5283 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003406/0.4004, allocations: 1.194 MB / 0.5294 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.4055, allocations: 1.475 MB / 0.5309 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.4091, allocations: 2.849 MB / 0.5337 GB, free: 22.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.4244, allocations: 5.936 MB / 0.5395 GB, free: 22.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.4477, allocations: 21.5 MB / 0.5604 GB, free: 16.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4478, allocations: 0 / 0.5604 GB, free: 16.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4478, allocations: 1.312 kB / 0.5604 GB, free: 16.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006559/0.4485, allocations: 0 / 0.5604 GB, free: 16.61 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.0447/0.4932, allocations: 13.84 MB / 0.574 GB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4932, allocations: 7.406 kB / 0.574 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03962/0.5328, allocations: 7.859 MB / 0.5816 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.5487, allocations: 6.555 MB / 0.588 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006882/0.5495, allocations: 0.8135 MB / 0.5888 GB, free: 184 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00539/0.5549, allocations: 1.059 MB / 0.5899 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0423/0.5972, allocations: 17.81 MB / 0.6073 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003282/0.5975, allocations: 7.906 kB / 0.6073 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0043/0.6019, allocations: 449.8 kB / 0.6077 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007847/0.6027, allocations: 0.5735 MB / 0.6083 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03482/0.6375, allocations: 16.25 MB / 0.6241 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08878/0.7263, allocations: 53.32 MB / 0.6762 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/0.743, allocations: 15.82 MB / 0.6917 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005483/0.7485, allocations: 3.838 MB / 0.6954 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.7489, allocations: 193.9 kB / 0.6956 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.496e-05/0.749, allocations: 86.98 kB / 0.6957 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 6.132e-06/0.749, allocations: 0 / 0.6957 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.01887/0.7679, allocations: 10.85 MB / 0.7063 GB, free: 6.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.768, allocations: 129.5 kB / 0.7064 GB, free: 5.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.7727, allocations: 3.49 MB / 0.7098 GB, free: 2.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000411/0.7731, allocations: 113.6 kB / 0.7099 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2129/0.986, allocations: 4.318 MB / 0.7141 GB, free: 159.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001961/0.988, allocations: 1.708 MB / 0.7158 GB, free: 158.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002097/0.9901, allocations: 1.314 MB / 0.7171 GB, free: 158.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.9901, allocations: 304.2 kB / 0.7174 GB, free: 157.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004933/0.9951, allocations: 3.348 MB / 0.7206 GB, free: 157.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/1.001, allocations: 5.69 MB / 0.7262 GB, free: 155.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.012, allocations: 9.675 MB / 0.7356 GB, free: 152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.012, allocations: 19.78 kB / 0.7357 GB, free: 152 MB / 494.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01375/1.026, allocations: 10.42 MB / 0.7458 GB, free: 149.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/1.026, allocations: 38 kB / 0.7459 GB, free: 149.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.026, allocations: 72.84 kB / 0.7459 GB, free: 149.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.028, allocations: 1.072 MB / 0.747 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.034, allocations: 1.512 MB / 0.7485 GB, free: 148.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.046, allocations: 12.47 MB / 0.7607 GB, free: 140.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.051, allocations: 0.8514 MB / 0.7615 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009987/1.052, allocations: 321.3 kB / 0.7618 GB, free: 139.9 MB / 494.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.006483/1.058, allocations: 4.114 MB / 0.7658 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/1.059, allocations: 400.9 kB / 0.7662 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.07, allocations: 8.019 MB / 0.774 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007526/1.077, allocations: 6.64 MB / 0.7805 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/1.077, allocations: 15.89 kB / 0.7805 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/1.077, allocations: 26.06 kB / 0.7805 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.103, allocations: 17.94 MB / 0.7981 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/1.103, allocations: 16.56 kB / 0.7981 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/1.106, allocations: 0.9479 MB / 0.799 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/1.108, allocations: 0.9772 MB / 0.8 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003375/1.109, allocations: 128.7 kB / 0.8001 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/1.119, allocations: 12.2 MB / 0.812 GB, free: 91.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.119, allocations: 23.88 kB / 0.812 GB, free: 91.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.134, allocations: 12.37 MB / 0.8241 GB, free: 78.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002915/1.137, allocations: 1.131 MB / 0.8252 GB, free: 77.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.139, allocations: 112 kB / 0.8253 GB, free: 77.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/1.141, allocations: 328.6 kB / 0.8256 GB, free: 77.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007239/1.142, allocations: 395.7 kB / 0.826 GB, free: 76.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.143, allocations: 164 kB / 0.8262 GB, free: 76.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004079/1.147, allocations: 2.362 MB / 0.8285 GB, free: 74.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.147, allocations: 4 kB / 0.8285 GB, free: 74.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01224/1.159, allocations: 2.648 MB / 0.8311 GB, free: 71.48 MB / 494.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.001575/1.16, allocations: 333.4 kB / 0.8314 GB, free: 71.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0141/1.175, allocations: 8.724 MB / 0.8399 GB, free: 62.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/1.175, allocations: 0 / 0.8399 GB, free: 62.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006364/1.181, allocations: 4.355 MB / 0.8441 GB, free: 57.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.186, allocations: 0.8992 MB / 0.845 GB, free: 57.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/1.219, allocations: 23.68 MB / 0.8682 GB, free: 33.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009391/1.229, allocations: 7.008 MB / 0.875 GB, free: 26.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006213/1.235, allocations: 2.538 MB / 0.8775 GB, free: 23.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.236, allocations: 383.4 kB / 0.8778 GB, free: 23.2 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/1.236, allocations: 0 / 0.8778 GB, free: 23.2 MB / 494.1 MB Notification: Performance of Templates: time 0.3148/1.551, allocations: 68.42 MB / 0.9447 GB, free: 124 MB / 494.1 MB 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)