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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.329/1.329, allocations: 222.9 MB / 239 MB, free: 4.656 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.001192/0.001192, allocations: 196.4 kB / 289.3 MB, free: 2.391 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03306/0.03306, allocations: 8.796 MB / 348.2 MB, free: 4.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 72.02 kB / 410.6 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07203/0.07336, allocations: 51.57 MB / 462.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01533/0.08872, allocations: 15.73 MB / 477.9 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009045/0.09781, allocations: 5.212 MB / 483.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.1003, allocations: 95.62 kB / 483.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.104, allocations: 1.069 MB / 484.3 MB, free: 8.578 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.004662/0.1087, allocations: 1.377 MB / 485.6 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.1113, allocations: 0.8998 MB / 486.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.1173, allocations: 4.7 MB / 491.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003793/0.1211, allocations: 3.489 MB / 494.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.1234, allocations: 1.954 MB / 496.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.1258, allocations: 2.308 MB / 499 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006238/0.1264, allocations: 0.5547 MB / 499.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.1276, allocations: 0.7732 MB / 0.4886 GB, free: 8.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.1285, allocations: 1.231 MB / 0.4898 GB, free: 7.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.1305, allocations: 2.373 MB / 0.4921 GB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006056/0.1366, allocations: 7.232 MB / 0.4992 GB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1366, allocations: 4 kB / 0.4992 GB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1366, allocations: 0 / 0.4992 GB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.1368, allocations: 0 / 0.4992 GB, free: 13.54 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.01104/0.1478, allocations: 4.818 MB / 0.5039 GB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1479, allocations: 8.031 kB / 0.5039 GB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005198/0.1531, allocations: 0.9445 MB / 0.5048 GB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006076/0.1592, allocations: 2.558 MB / 0.5073 GB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.1595, allocations: 271.8 kB / 0.5076 GB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009294/0.1604, allocations: 376 kB / 0.5079 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008137/0.1686, allocations: 4.688 MB / 0.5125 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.1687, allocations: 0 / 0.5125 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.169, allocations: 148 kB / 0.5126 GB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.1692, allocations: 163.2 kB / 0.5128 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006375/0.1756, allocations: 3.901 MB / 0.5166 GB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1854/0.361, allocations: 15.56 MB / 0.5318 GB, free: 57.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.3656, allocations: 6.046 MB / 0.5377 GB, free: 53.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.3677, allocations: 1.385 MB / 0.5391 GB, free: 53.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006056/0.3737, allocations: 4.233 MB / 0.5432 GB, free: 52.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3738, allocations: 49.97 kB / 0.5432 GB, free: 52.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=133): time 3.516e-06/0.3738, allocations: 2.797 kB / 0.5432 GB, free: 52.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.008281/0.3821, allocations: 5.178 MB / 0.5483 GB, free: 50.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3821, allocations: 66.25 kB / 0.5484 GB, free: 50.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.3847, allocations: 2.012 MB / 0.5503 GB, free: 50.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.3848, allocations: 47.92 kB / 0.5504 GB, free: 50.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.3855, allocations: 1.661 MB / 0.552 GB, free: 49.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.3858, allocations: 490 kB / 0.5525 GB, free: 48.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.3863, allocations: 366.9 kB / 0.5528 GB, free: 48.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.3863, allocations: 301.1 kB / 0.5531 GB, free: 48.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3873, allocations: 0.6669 MB / 0.5538 GB, free: 47.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.3883, allocations: 1.38 MB / 0.5551 GB, free: 46.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.3902, allocations: 2.199 MB / 0.5572 GB, free: 45.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.3902, allocations: 11.91 kB / 0.5573 GB, free: 45.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.002907/0.3931, allocations: 2.48 MB / 0.5597 GB, free: 44.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3931, allocations: 15.69 kB / 0.5597 GB, free: 44.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3932, allocations: 24.47 kB / 0.5597 GB, free: 44.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.3934, allocations: 155.8 kB / 0.5599 GB, free: 44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3948, allocations: 458.9 kB / 0.5603 GB, free: 43.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.3962, allocations: 2.12 MB / 0.5624 GB, free: 41.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.3975, allocations: 78.02 kB / 0.5624 GB, free: 41.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3976, allocations: 97.17 kB / 0.5625 GB, free: 41.9 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.001307/0.3989, allocations: 1.065 MB / 0.5636 GB, free: 41.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.3992, allocations: 221.6 kB / 0.5638 GB, free: 41.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.4019, allocations: 2.02 MB / 0.5658 GB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4019, allocations: 13.16 kB / 0.5658 GB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4019, allocations: 7.469 kB / 0.5658 GB, free: 39.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.402, allocations: 7.969 kB / 0.5658 GB, free: 39.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.408, allocations: 4.95 MB / 0.5706 GB, free: 36.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.408, allocations: 3.688 kB / 0.5706 GB, free: 36.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007689/0.4088, allocations: 205.4 kB / 0.5708 GB, free: 36.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/0.4095, allocations: 341.6 kB / 0.5712 GB, free: 36.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.4096, allocations: 34.95 kB / 0.5712 GB, free: 36.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.4143, allocations: 7.135 MB / 0.5782 GB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4144, allocations: 4.031 kB / 0.5782 GB, free: 29.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.4177, allocations: 2.907 MB / 0.581 GB, free: 26.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/0.4185, allocations: 442.3 kB / 0.5814 GB, free: 26.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.4187, allocations: 31.88 kB / 0.5814 GB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.4196, allocations: 59.97 kB / 0.5815 GB, free: 26.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.4198, allocations: 97.67 kB / 0.5816 GB, free: 26.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/0.4199, allocations: 39.98 kB / 0.5816 GB, free: 26.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.4214, allocations: 1.366 MB / 0.583 GB, free: 24.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4214, allocations: 8 kB / 0.583 GB, free: 24.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001786/0.4232, allocations: 0.6019 MB / 0.5836 GB, free: 24.04 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.0002393/0.4234, allocations: 163.6 kB / 0.5837 GB, free: 23.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.4268, allocations: 2.259 MB / 0.5859 GB, free: 21.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4268, allocations: 0 / 0.5859 GB, free: 21.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.4281, allocations: 1.22 MB / 0.5871 GB, free: 20.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.4302, allocations: 0.5649 MB / 0.5877 GB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.438, allocations: 7.537 MB / 0.595 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.4394, allocations: 2.398 MB / 0.5974 GB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001462/0.4408, allocations: 462.6 kB / 0.5978 GB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.4412, allocations: 139.4 kB / 0.5979 GB, free: 9.203 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4412, allocations: 4 kB / 0.598 GB, free: 9.199 MB / 366.1 MB Notification: Performance of Templates: time 0.04567/0.4868, allocations: 29.27 MB / 0.6265 GB, free: 12.25 MB / 398.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.makefile (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)