Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.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.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009749/0.0009752, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.411/1.411, allocations: 223.3 MB / 239.4 MB, free: 5.398 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.0009539/0.000954, allocations: 172.5 kB / 290.6 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03285/0.03285, allocations: 8.8 MB / 350.5 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 13.89 kB / 413.8 MB, free: 42.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08339/0.08378, allocations: 52.56 MB / 466.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01563/0.09945, allocations: 15.01 MB / 481.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1101, allocations: 5.189 MB / 486.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003901/0.1141, allocations: 91.69 kB / 486.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.1179, allocations: 1.065 MB / 487.7 MB, free: 7.672 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00515/0.1231, allocations: 1.36 MB / 489.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.1257, allocations: 0.9068 MB / 490 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006507/0.1322, allocations: 4.826 MB / 494.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004516/0.1367, allocations: 2.855 MB / 497.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.1393, allocations: 1.455 MB / 499.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.1426, allocations: 1.874 MB / 0.4893 GB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009736/0.1436, allocations: 232 kB / 0.4895 GB, free: 10.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.1456, allocations: 451.7 kB / 0.4899 GB, free: 9.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.1469, allocations: 0.8521 MB / 0.4907 GB, free: 8.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.1502, allocations: 1.972 MB / 0.4927 GB, free: 6.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.1569, allocations: 6.836 MB / 0.4993 GB, free: 15.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1569, allocations: 4 kB / 0.4994 GB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1569, allocations: 0 / 0.4994 GB, free: 15.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.1571, allocations: 0 / 0.4994 GB, free: 15.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.009993/0.1671, allocations: 4.062 MB / 0.5033 GB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1671, allocations: 12.02 kB / 0.5033 GB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.1723, allocations: 0.9485 MB / 0.5043 GB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.1773, allocations: 2.569 MB / 0.5068 GB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.1775, allocations: 279.8 kB / 0.507 GB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006028/0.1781, allocations: 372 kB / 0.5074 GB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008461/0.1866, allocations: 4.692 MB / 0.512 GB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/0.1867, allocations: 4 kB / 0.512 GB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.187, allocations: 148 kB / 0.5121 GB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.1872, allocations: 151.3 kB / 0.5123 GB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006871/0.1941, allocations: 3.909 MB / 0.5161 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2019/0.396, allocations: 15.65 MB / 0.5314 GB, free: 58.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.4007, allocations: 6.052 MB / 0.5373 GB, free: 54.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.4028, allocations: 1.371 MB / 0.5386 GB, free: 54.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006267/0.4091, allocations: 4.249 MB / 0.5428 GB, free: 53.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4091, allocations: 50.31 kB / 0.5428 GB, free: 53.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 2.945e-06/0.4091, allocations: 0 / 0.5428 GB, free: 53.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.009293/0.4184, allocations: 5.192 MB / 0.5479 GB, free: 51.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.4185, allocations: 66.03 kB / 0.5479 GB, free: 51.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.4211, allocations: 2.018 MB / 0.5499 GB, free: 51.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.4212, allocations: 55.33 kB / 0.55 GB, free: 51.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008588/0.422, allocations: 1.662 MB / 0.5516 GB, free: 50.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.4223, allocations: 482.5 kB / 0.552 GB, free: 50.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4225, allocations: 161.4 kB / 0.5522 GB, free: 50.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.4226, allocations: 302.5 kB / 0.5525 GB, free: 49.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.4236, allocations: 0.6664 MB / 0.5531 GB, free: 49.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.425, allocations: 1.378 MB / 0.5545 GB, free: 48.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.4274, allocations: 2.203 MB / 0.5566 GB, free: 47.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4274, allocations: 7.875 kB / 0.5566 GB, free: 47.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.003104/0.4305, allocations: 2.484 MB / 0.5591 GB, free: 46.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4305, allocations: 15.78 kB / 0.5591 GB, free: 46.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.4306, allocations: 23.56 kB / 0.5591 GB, free: 46.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/0.4309, allocations: 159.7 kB / 0.5593 GB, free: 46.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.4323, allocations: 456.7 kB / 0.5597 GB, free: 45.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.4338, allocations: 1.951 MB / 0.5616 GB, free: 44.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4351, allocations: 82.16 kB / 0.5617 GB, free: 44.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4352, allocations: 90.38 kB / 0.5618 GB, free: 44.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001619/0.4368, allocations: 1.058 MB / 0.5628 GB, free: 43.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4371, allocations: 213.5 kB / 0.563 GB, free: 43.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.4399, allocations: 2.03 MB / 0.565 GB, free: 42.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.44, allocations: 14.78 kB / 0.565 GB, free: 42.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.44, allocations: 3.688 kB / 0.565 GB, free: 42.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.44, allocations: 14.28 kB / 0.565 GB, free: 42.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005982/0.446, allocations: 4.961 MB / 0.5699 GB, free: 39.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.446, allocations: 0 / 0.5699 GB, free: 39.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.4468, allocations: 206 kB / 0.5701 GB, free: 39.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007638/0.4476, allocations: 337.7 kB / 0.5704 GB, free: 38.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.4477, allocations: 34.61 kB / 0.5704 GB, free: 38.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004716/0.4524, allocations: 6.526 MB / 0.5768 GB, free: 33.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4524, allocations: 3.688 kB / 0.5768 GB, free: 33.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.4558, allocations: 2.901 MB / 0.5796 GB, free: 30.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006764/0.4565, allocations: 446.3 kB / 0.58 GB, free: 29.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.4567, allocations: 32 kB / 0.5801 GB, free: 29.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.4576, allocations: 59.95 kB / 0.5801 GB, free: 29.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.4578, allocations: 104.1 kB / 0.5802 GB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.4579, allocations: 36 kB / 0.5803 GB, free: 29.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001559/0.4594, allocations: 1.367 MB / 0.5816 GB, free: 28.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4594, allocations: 0 / 0.5816 GB, free: 28.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002028/0.4615, allocations: 0.6052 MB / 0.5822 GB, free: 27.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.4618, allocations: 166.1 kB / 0.5823 GB, free: 27.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.4642, allocations: 1.886 MB / 0.5842 GB, free: 25.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.4642, allocations: 4 kB / 0.5842 GB, free: 25.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.4656, allocations: 1.213 MB / 0.5854 GB, free: 24.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.4683, allocations: 0.5466 MB / 0.5859 GB, free: 23.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/0.4766, allocations: 7.657 MB / 0.5934 GB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.4781, allocations: 2.39 MB / 0.5957 GB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00148/0.4796, allocations: 470.6 kB / 0.5962 GB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.4799, allocations: 143.4 kB / 0.5963 GB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4799, allocations: 0 / 0.5963 GB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.04337/0.5233, allocations: 27.92 MB / 0.6236 GB, free: 1.309 MB / 382.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) Environment - environmentSimulation: