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.0009193/0.0009193, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.409/1.409, allocations: 223.2 MB / 238.9 MB, free: 5.652 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.001398/0.001398, allocations: 185.1 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03271/0.03271, allocations: 8.797 MB / 350.1 MB, free: 4.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 11.03 kB / 413.1 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09671, allocations: 52.56 MB / 465.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01524/0.112, allocations: 15.13 MB / 480.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1225, allocations: 4.757 MB / 485.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.1253, allocations: 131.6 kB / 485.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002986/0.1283, allocations: 0.9948 MB / 486.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005233/0.1335, allocations: 1.763 MB / 488.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.1367, allocations: 1.24 MB / 489.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.1506, allocations: 8.507 MB / 498.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03829/0.189, allocations: 20.72 MB / 0.5067 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/0.1956, allocations: 3.968 MB / 0.5106 GB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007904/0.2035, allocations: 4.455 MB / 0.515 GB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.2057, allocations: 0.6602 MB / 0.5156 GB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.2097, allocations: 0.8864 MB / 0.5165 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.2125, allocations: 1.99 MB / 0.5184 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004398/0.2169, allocations: 2.126 MB / 0.5205 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2742/0.4911, allocations: 18.43 MB / 0.5385 GB, free: 26.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4911, allocations: 0.7188 kB / 0.5385 GB, free: 26.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4911, allocations: 0.5312 kB / 0.5385 GB, free: 26.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007823/0.4919, allocations: 0 / 0.5385 GB, free: 26.7 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.039/0.5309, allocations: 11.52 MB / 0.5497 GB, free: 21.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.531, allocations: 12.31 kB / 0.5497 GB, free: 21.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04493/0.576, allocations: 7.915 MB / 0.5575 GB, free: 18.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/0.5958, allocations: 6.469 MB / 0.5638 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/0.5971, allocations: 0.8118 MB / 0.5646 GB, free: 16.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006148/0.6033, allocations: 1.072 MB / 0.5656 GB, free: 16.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0539/0.6572, allocations: 17.63 MB / 0.5828 GB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005195/0.6577, allocations: 11.84 kB / 0.5829 GB, free: 8.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00518/0.6629, allocations: 449 kB / 0.5833 GB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005619/0.6635, allocations: 0.5836 MB / 0.5839 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0384/0.7019, allocations: 16.16 MB / 0.5996 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1052/0.8071, allocations: 53.42 MB / 0.6518 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.8236, allocations: 15.8 MB / 0.6672 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.8243, allocations: 201.9 kB / 0.6674 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.8244, allocations: 86.98 kB / 0.6675 GB, free: 3.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=504): time 6.763e-06/0.8244, allocations: 2.734 kB / 0.6675 GB, free: 3.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=504): time 0.021/0.8454, allocations: 11.47 MB / 0.6787 GB, free: 7.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.8455, allocations: 132.9 kB / 0.6788 GB, free: 7.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.8509, allocations: 3.47 MB / 0.6822 GB, free: 3.727 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000687/0.8516, allocations: 109.6 kB / 0.6823 GB, free: 3.613 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/0.8547, allocations: 4.32 MB / 0.6865 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/0.8567, allocations: 1.703 MB / 0.6882 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.8571, allocations: 140 kB / 0.6883 GB, free: 13.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003666/0.8574, allocations: 0.5833 MB / 0.6889 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/0.8624, allocations: 3.343 MB / 0.6922 GB, free: 9.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006806/0.8692, allocations: 5.655 MB / 0.6977 GB, free: 2.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006436/0.8756, allocations: 4.657 MB / 0.7022 GB, free: 14.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/0.8757, allocations: 20 kB / 0.7023 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01639/0.8921, allocations: 10.38 MB / 0.7124 GB, free: 4.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.8922, allocations: 36 kB / 0.7124 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.8923, allocations: 80.03 kB / 0.7125 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.8951, allocations: 1.058 MB / 0.7135 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005204/0.9003, allocations: 1.527 MB / 0.715 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.284/1.184, allocations: 12.62 MB / 0.7274 GB, free: 158.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006526/1.191, allocations: 0.8525 MB / 0.7282 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.192, allocations: 319.8 kB / 0.7285 GB, free: 158.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008866/1.201, allocations: 4.112 MB / 0.7325 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/1.202, allocations: 411.6 kB / 0.7329 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.215, allocations: 8.018 MB / 0.7407 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009181/1.224, allocations: 6.637 MB / 0.7472 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/1.224, allocations: 11.81 kB / 0.7472 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/1.224, allocations: 22.97 kB / 0.7473 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.254, allocations: 17.51 MB / 0.7643 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/1.254, allocations: 8 kB / 0.7644 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/1.258, allocations: 0.9275 MB / 0.7653 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/1.26, allocations: 0.9651 MB / 0.7662 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/1.26, allocations: 114.6 kB / 0.7663 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.272, allocations: 12.44 MB / 0.7785 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.272, allocations: 11.94 kB / 0.7785 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.287, allocations: 12.58 MB / 0.7908 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002976/1.29, allocations: 1.119 MB / 0.7919 GB, free: 114.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/1.29, allocations: 99.98 kB / 0.792 GB, free: 114.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/1.292, allocations: 315.7 kB / 0.7923 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006402/1.293, allocations: 367.9 kB / 0.7926 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.293, allocations: 156 kB / 0.7928 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003211/1.296, allocations: 2.331 MB / 0.795 GB, free: 111.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.296, allocations: 0 / 0.795 GB, free: 111.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007621/1.304, allocations: 2.66 MB / 0.7976 GB, free: 108.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (487): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 30,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006999/1.305, allocations: 311.1 kB / 0.7979 GB, free: 108.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01162/1.316, allocations: 8.706 MB / 0.8064 GB, free: 99.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.316, allocations: 4 kB / 0.8064 GB, free: 99.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00528/1.322, allocations: 4.271 MB / 0.8106 GB, free: 95.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/1.326, allocations: 0.7921 MB / 0.8114 GB, free: 94.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/1.356, allocations: 22.46 MB / 0.8333 GB, free: 71.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006684/1.362, allocations: 7.171 MB / 0.8403 GB, free: 64.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006577/1.369, allocations: 2.51 MB / 0.8428 GB, free: 62.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.37, allocations: 371.4 kB / 0.8431 GB, free: 61.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/1.37, allocations: 4 kB / 0.8431 GB, free: 61.7 MB / 494.1 MB Notification: Performance of Templates: time 0.3912/1.761, allocations: 65.36 MB / 0.907 GB, free: 151 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: