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.005366/0.005366, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.406/1.406, allocations: 222.9 MB / 239.4 MB, free: 4.434 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.001406/0.001406, allocations: 192.5 kB / 289.7 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03423/0.03424, allocations: 8.787 MB / 348.6 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 83.88 kB / 463.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.101, allocations: 51.57 MB / 0.5034 GB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01859/0.1197, allocations: 18.92 MB / 0.5219 GB, free: 6.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1316, allocations: 5.019 MB / 0.5268 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.1356, allocations: 155.6 kB / 0.5269 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2773/0.4129, allocations: 8.218 MB / 0.5349 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009851/0.4228, allocations: 2.15 MB / 0.537 GB, free: 3.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.4279, allocations: 1.582 MB / 0.5386 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0178/0.4458, allocations: 10.76 MB / 0.5491 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04947/0.4953, allocations: 25.29 MB / 0.5738 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.5072, allocations: 6.066 MB / 0.5797 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01453/0.5218, allocations: 6.771 MB / 0.5863 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006147/0.528, allocations: 1.621 MB / 0.5879 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00789/0.5359, allocations: 1.914 MB / 0.5898 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007144/0.5431, allocations: 3.301 MB / 0.593 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01915/0.5623, allocations: 6.389 MB / 0.5993 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02941/0.5918, allocations: 21.92 MB / 0.6207 GB, free: 5.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.5919, allocations: 0 / 0.6207 GB, free: 5.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5919, allocations: 0 / 0.6207 GB, free: 5.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001077/0.593, allocations: 0 / 0.6207 GB, free: 5.727 MB / 430.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.04305/0.6361, allocations: 13.77 MB / 0.6341 GB, free: 7.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6361, allocations: 12.03 kB / 0.6341 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04196/0.6781, allocations: 7.886 MB / 0.6418 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01773/0.6959, allocations: 6.761 MB / 0.6484 GB, free: 9.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000776/0.6967, allocations: 0.8064 MB / 0.6492 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003806/0.7005, allocations: 1.059 MB / 0.6502 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04493/0.7455, allocations: 17.77 MB / 0.6676 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004933/0.746, allocations: 19.89 kB / 0.6676 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004231/0.7503, allocations: 451.2 kB / 0.668 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007377/0.751, allocations: 0.5734 MB / 0.6686 GB, free: 4.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03167/0.7827, allocations: 16.21 MB / 0.6844 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5841/1.367, allocations: 52.69 MB / 0.7359 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01658/1.383, allocations: 15.75 MB / 0.7513 GB, free: 135 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00672/1.39, allocations: 3.757 MB / 0.7549 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/1.391, allocations: 189.1 kB / 0.7551 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.412e-05/1.391, allocations: 90.83 kB / 0.7552 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=492): time 7.284e-06/1.391, allocations: 0 / 0.7552 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=492): time 0.02211/1.413, allocations: 10.62 MB / 0.7656 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/1.413, allocations: 135.4 kB / 0.7657 GB, free: 134 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/1.418, allocations: 3.496 MB / 0.7691 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006565/1.418, allocations: 104.9 kB / 0.7692 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.421, allocations: 4.334 MB / 0.7735 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.422, allocations: 1.675 MB / 0.7751 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/1.424, allocations: 1.302 MB / 0.7764 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/1.424, allocations: 305.1 kB / 0.7767 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/1.428, allocations: 3.27 MB / 0.7798 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/1.433, allocations: 5.611 MB / 0.7853 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009644/1.443, allocations: 9.508 MB / 0.7946 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.376e-05/1.443, allocations: 23.31 kB / 0.7946 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0135/1.457, allocations: 10.27 MB / 0.8047 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/1.457, allocations: 37.69 kB / 0.8047 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.457, allocations: 75.34 kB / 0.8048 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.459, allocations: 1.081 MB / 0.8058 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/1.464, allocations: 1.521 MB / 0.8073 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.477, allocations: 13.63 MB / 0.8206 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/1.482, allocations: 0.844 MB / 0.8214 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009691/1.483, allocations: 312.9 kB / 0.8217 GB, free: 103.4 MB / 0.5294 GB 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006192/1.489, allocations: 4.118 MB / 0.8258 GB, free: 99.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008566/1.49, allocations: 397.5 kB / 0.8261 GB, free: 98.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/1.5, allocations: 7.852 MB / 0.8338 GB, free: 91.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007924/1.508, allocations: 6.483 MB / 0.8401 GB, free: 84.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/1.508, allocations: 12 kB / 0.8402 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/1.508, allocations: 27.89 kB / 0.8402 GB, free: 84.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02528/1.534, allocations: 17.52 MB / 0.8573 GB, free: 66.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/1.534, allocations: 12 kB / 0.8573 GB, free: 66.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/1.537, allocations: 0.9558 MB / 0.8582 GB, free: 65.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002428/1.539, allocations: 0.9891 MB / 0.8592 GB, free: 64.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/1.54, allocations: 124 kB / 0.8593 GB, free: 64.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.552, allocations: 13.3 MB / 0.8723 GB, free: 50.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.552, allocations: 23.88 kB / 0.8723 GB, free: 50.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.567, allocations: 12.1 MB / 0.8841 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/1.569, allocations: 1.119 MB / 0.8852 GB, free: 37.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005251/1.57, allocations: 112 kB / 0.8853 GB, free: 36.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/1.572, allocations: 319.6 kB / 0.8856 GB, free: 36.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000627/1.572, allocations: 399.7 kB / 0.886 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.573, allocations: 168 kB / 0.8862 GB, free: 36.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002734/1.575, allocations: 2.354 MB / 0.8885 GB, free: 33.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.575, allocations: 3.938 kB / 0.8885 GB, free: 33.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006395/1.582, allocations: 2.653 MB / 0.8911 GB, free: 31.05 MB / 0.5294 GB 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007305/1.583, allocations: 328.5 kB / 0.8914 GB, free: 30.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.594, allocations: 8.614 MB / 0.8998 GB, free: 22.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-05/1.594, allocations: 4 kB / 0.8998 GB, free: 22.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005674/1.599, allocations: 4.247 MB / 0.904 GB, free: 17.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/1.604, allocations: 0.9461 MB / 0.9049 GB, free: 16.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03136/1.636, allocations: 18.87 MB / 0.9233 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009503/1.645, allocations: 7.011 MB / 0.9302 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006345/1.652, allocations: 2.538 MB / 0.9326 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.653, allocations: 375.4 kB / 0.933 GB, free: 3.758 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/1.653, allocations: 4 kB / 0.933 GB, free: 3.754 MB / 0.545 GB Notification: Performance of Templates: time 0.4711/2.124, allocations: 67.25 MB / 0.9987 GB, free: 153.1 MB / 0.5607 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)