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.001281/0.001281, allocations: 100 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.345/1.345, allocations: 223.2 MB / 238.9 MB, free: 5.461 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.001241/0.001241, allocations: 177.1 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03244/0.03244, allocations: 8.798 MB / 350.1 MB, free: 4.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 11.86 kB / 413.1 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08426/0.08462, allocations: 52.56 MB / 465.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01354/0.0982, allocations: 12.82 MB / 478.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008956/0.1072, allocations: 5.068 MB / 483.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.1094, allocations: 83.69 kB / 483.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.1119, allocations: 0.9212 MB / 484.5 MB, free: 10.55 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.004312/0.1162, allocations: 1.371 MB / 485.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.1185, allocations: 0.6888 MB / 486.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005769/0.1242, allocations: 3.138 MB / 489.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.1275, allocations: 2.421 MB / 492.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.1302, allocations: 1.401 MB / 493.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.1324, allocations: 1.649 MB / 495.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005369/0.133, allocations: 228 kB / 495.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1343, allocations: 419.7 kB / 495.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.135, allocations: 0.802 MB / 496.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.136, allocations: 0.82 MB / 497.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.1416, allocations: 5.925 MB / 0.4916 GB, free: 7.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1416, allocations: 0 / 0.4916 GB, free: 7.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1416, allocations: 0 / 0.4916 GB, free: 7.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.1418, allocations: 0 / 0.4916 GB, free: 7.617 MB / 334.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.009822/0.1516, allocations: 4.101 MB / 0.4956 GB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1517, allocations: 8.031 kB / 0.4956 GB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.1568, allocations: 0.9514 MB / 0.4965 GB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005641/0.1625, allocations: 2.523 MB / 0.499 GB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.1627, allocations: 275.4 kB / 0.4993 GB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/0.1633, allocations: 367.8 kB / 0.4996 GB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/0.1708, allocations: 4.633 MB / 0.5041 GB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/0.1709, allocations: 3.906 kB / 0.5041 GB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003157/0.1712, allocations: 152 kB / 0.5043 GB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.1713, allocations: 163.3 kB / 0.5044 GB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006357/0.1777, allocations: 3.874 MB / 0.5082 GB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.201, allocations: 15.61 MB / 0.5235 GB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1907/0.3918, allocations: 6.037 MB / 0.5294 GB, free: 57.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007736/0.3995, allocations: 4.194 MB / 0.5335 GB, free: 56.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.3996, allocations: 56.33 kB / 0.5335 GB, free: 56.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=144): time 4.248e-06/0.3996, allocations: 0 / 0.5335 GB, free: 56.77 MB / 366.1 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[3] + smee.is[2] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[1] ; smee.is[2] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=178): time 0.01531/0.415, allocations: 7.374 MB / 0.5407 GB, free: 55.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.415, allocations: 70.09 kB / 0.5408 GB, free: 55.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.4185, allocations: 1.966 MB / 0.5427 GB, free: 55.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.4187, allocations: 55.73 kB / 0.5428 GB, free: 54.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.4198, allocations: 1.638 MB / 0.5444 GB, free: 54.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/0.4203, allocations: 0.6084 MB / 0.5449 GB, free: 53.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.4204, allocations: 44.5 kB / 0.545 GB, free: 53.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4205, allocations: 392.2 kB / 0.5454 GB, free: 53.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.4219, allocations: 0.8225 MB / 0.5462 GB, free: 52.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.4234, allocations: 1.524 MB / 0.5477 GB, free: 51.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4249, allocations: 1.111 MB / 0.5487 GB, free: 51.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.4249, allocations: 6.781 kB / 0.5487 GB, free: 51.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.00496/0.4299, allocations: 3.044 MB / 0.5517 GB, free: 49.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.43, allocations: 16.44 kB / 0.5517 GB, free: 49.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.43, allocations: 23.66 kB / 0.5518 GB, free: 49.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4311, allocations: 499.5 kB / 0.5522 GB, free: 49.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.4326, allocations: 477.3 kB / 0.5527 GB, free: 49.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.4381, allocations: 5.161 MB / 0.5577 GB, free: 46.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4399, allocations: 87.19 kB / 0.5578 GB, free: 46.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.4401, allocations: 102.2 kB / 0.5579 GB, free: 46.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (247): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001746/0.4419, allocations: 1.089 MB / 0.559 GB, free: 45.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4422, allocations: 232.7 kB / 0.5592 GB, free: 45.5 MB / 366.1 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[3] + smee.is[2] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.446, allocations: 2.562 MB / 0.5617 GB, free: 44.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.446, allocations: 18.22 kB / 0.5617 GB, free: 44.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.446, allocations: 7.703 kB / 0.5617 GB, free: 44.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.446, allocations: 11.95 kB / 0.5617 GB, free: 44.12 MB / 366.1 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[3] + smee.is[2] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/0.4538, allocations: 5.918 MB / 0.5675 GB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.4539, allocations: 3.953 kB / 0.5675 GB, free: 40.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.4549, allocations: 276.3 kB / 0.5678 GB, free: 39.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.456, allocations: 0.5018 MB / 0.5683 GB, free: 39.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.39e-05/0.4561, allocations: 43.98 kB / 0.5683 GB, free: 39.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005735/0.4618, allocations: 6.509 MB / 0.5747 GB, free: 32.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4618, allocations: 0 / 0.5747 GB, free: 32.62 MB / 366.1 MB Warning: The linear system: 1 : 3.0 * smee.stator.zeroInductor.i0 = smee.is[1] + smee.is[2] + smee.is[3] 2 : smee.is[1] + smee.is[3] + smee.is[2] = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ smee.is[2] ; smee.is[1] ] = [ smee.is[3] + (-3.0) * smee.stator.zeroInductor.i0 ; -smee.is[3] ] might be structurally or numerically singular for variable smee.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.4669, allocations: 3.87 MB / 0.5784 GB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.4681, allocations: 498.9 kB / 0.5789 GB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.4683, allocations: 36 kB / 0.579 GB, free: 28.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.4693, allocations: 74.02 kB / 0.579 GB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.4696, allocations: 121.8 kB / 0.5791 GB, free: 27.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.4697, allocations: 51.98 kB / 0.5792 GB, free: 27.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.4713, allocations: 1.319 MB / 0.5805 GB, free: 26.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4713, allocations: 0 / 0.5805 GB, free: 26.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002051/0.4734, allocations: 0.668 MB / 0.5811 GB, free: 25.81 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.is[3],smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.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 (138): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002723/0.4737, allocations: 177.3 kB / 0.5813 GB, free: 25.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003392/0.4771, allocations: 2.548 MB / 0.5838 GB, free: 23.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4771, allocations: 1.938 kB / 0.5838 GB, free: 23.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.479, allocations: 1.47 MB / 0.5852 GB, free: 21.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.4813, allocations: 0.5334 MB / 0.5858 GB, free: 21.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009775/0.4911, allocations: 7.679 MB / 0.5932 GB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.4927, allocations: 2.529 MB / 0.5957 GB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.4945, allocations: 495.7 kB / 0.5962 GB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.4948, allocations: 147.4 kB / 0.5963 GB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4948, allocations: 0 / 0.5963 GB, free: 10.14 MB / 366.1 MB Notification: Performance of Templates: time 0.05273/0.5476, allocations: 30.56 MB / 0.6262 GB, free: 11.89 MB / 398.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: