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.001068/0.001068, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.322/1.322, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001256/0.001256, allocations: 188.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03685/0.03685, allocations: 8.803 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 80.14 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.0864, allocations: 51.56 MB / 0.5041 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01828/0.1047, allocations: 18.94 MB / 0.5226 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008749/0.1135, allocations: 5.016 MB / 0.5275 GB, free: 1.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.1158, allocations: 155.6 kB / 0.5276 GB, free: 1.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1857/0.3015, allocations: 8.209 MB / 0.5356 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.3073, allocations: 2.158 MB / 0.5377 GB, free: 3.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.3109, allocations: 1.576 MB / 0.5393 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.3213, allocations: 10.76 MB / 0.5498 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03001/0.3514, allocations: 25.29 MB / 0.5745 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0075/0.3589, allocations: 6.067 MB / 0.5804 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00933/0.3683, allocations: 6.778 MB / 0.587 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003274/0.3716, allocations: 1.621 MB / 0.5886 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.3763, allocations: 1.909 MB / 0.5905 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002967/0.3793, allocations: 3.294 MB / 0.5937 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00788/0.3872, allocations: 6.395 MB / 0.5999 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.4065, allocations: 21.9 MB / 0.6213 GB, free: 5.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4066, allocations: 4 kB / 0.6213 GB, free: 5.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4066, allocations: 3.938 kB / 0.6213 GB, free: 5.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003305/0.4069, allocations: 0 / 0.6213 GB, free: 5.801 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.03317/0.4401, allocations: 13.78 MB / 0.6348 GB, free: 8.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4401, allocations: 8.031 kB / 0.6348 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04451/0.4846, allocations: 7.882 MB / 0.6425 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.4968, allocations: 6.751 MB / 0.6491 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006506/0.4975, allocations: 0.8109 MB / 0.6499 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002789/0.5003, allocations: 1.07 MB / 0.6509 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/0.5338, allocations: 17.77 MB / 0.6683 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002398/0.534, allocations: 7.906 kB / 0.6683 GB, free: 5.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001636/0.5357, allocations: 456.2 kB / 0.6687 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/0.5362, allocations: 0.5735 MB / 0.6693 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.5636, allocations: 16.21 MB / 0.6851 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.408/0.9716, allocations: 52.69 MB / 0.7366 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/0.9851, allocations: 15.74 MB / 0.7519 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/0.9902, allocations: 3.762 MB / 0.7556 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.9906, allocations: 190.2 kB / 0.7558 GB, free: 135 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.9906, allocations: 85.86 kB / 0.7559 GB, free: 135 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=492): time 7.364e-06/0.9906, allocations: 3.375 kB / 0.7559 GB, free: 135 MB / 0.5294 GB Notification: Performance of matching and sorting (n=492): time 0.01957/1.01, allocations: 10.62 MB / 0.7662 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.01, allocations: 136.6 kB / 0.7664 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/1.014, allocations: 3.493 MB / 0.7698 GB, free: 134 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/1.014, allocations: 104.5 kB / 0.7699 GB, free: 134 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.016, allocations: 4.331 MB / 0.7741 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008542/1.017, allocations: 1.675 MB / 0.7758 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.018, allocations: 1.31 MB / 0.777 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.287e-05/1.018, allocations: 304.8 kB / 0.7773 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/1.022, allocations: 3.27 MB / 0.7805 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/1.026, allocations: 5.607 MB / 0.786 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008315/1.035, allocations: 9.511 MB / 0.7953 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/1.035, allocations: 30.45 kB / 0.7953 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01252/1.047, allocations: 10.26 MB / 0.8053 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/1.047, allocations: 37.56 kB / 0.8054 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.84e-05/1.048, allocations: 74.41 kB / 0.8054 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/1.05, allocations: 1.091 MB / 0.8065 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/1.055, allocations: 1.514 MB / 0.808 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.067, allocations: 13.61 MB / 0.8213 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/1.072, allocations: 0.85 MB / 0.8221 GB, free: 103.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008595/1.072, allocations: 313.7 kB / 0.8224 GB, free: 103.6 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.005593/1.078, allocations: 4.11 MB / 0.8264 GB, free: 99.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008156/1.079, allocations: 399 kB / 0.8268 GB, free: 99.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.09, allocations: 7.86 MB / 0.8345 GB, free: 91.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.09, allocations: 27.89 kB / 0.8345 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.09, allocations: 0 / 0.8345 GB, free: 91.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.092, allocations: 1.073 MB / 0.8355 GB, free: 90.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007036/1.093, allocations: 95.67 kB / 0.8356 GB, free: 89.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/1.095, allocations: 295.6 kB / 0.8359 GB, free: 89.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005631/1.096, allocations: 352 kB / 0.8363 GB, free: 89.34 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01112/1.107, allocations: 7.543 MB / 0.8436 GB, free: 81.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01006/1.117, allocations: 9.51 MB / 0.8529 GB, free: 72.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002858/1.12, allocations: 2.905 MB / 0.8557 GB, free: 69.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003266/1.123, allocations: 2.362 MB / 0.8581 GB, free: 66.91 MB / 0.5294 GB Notification: Performance of Backend: time 1.422e-06/1.123, allocations: 0 / 0.8581 GB, free: 66.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009616/1.133, allocations: 6.215 MB / 0.8641 GB, free: 60.7 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02565/1.158, allocations: 17.21 MB / 0.8809 GB, free: 43.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.3031/1.461, allocations: 81.13 MB / 0.9602 GB, free: 182.4 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)