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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 252.6 MB, free: 8.297 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 212.6 kB / 309.2 MB, free: 3.195 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0445/0.0445, allocations: 8.919 MB / 374.6 MB, free: 1.949 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 83.86 kB / 0.4893 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2589, allocations: 55.61 MB / 0.5436 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.01269/0.2716, allocations: 16.69 MB / 0.5599 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008471/0.28, allocations: 5.614 MB / 0.5653 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.2827, allocations: 119.6 kB / 0.5655 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.2862, allocations: 1.272 MB / 0.5667 GB, free: 10.04 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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.004672/0.2909, allocations: 1.564 MB / 0.5682 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.2935, allocations: 1.073 MB / 0.5693 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006945/0.3005, allocations: 4.639 MB / 0.5738 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/0.3045, allocations: 2.002 MB / 0.5758 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.3081, allocations: 2.108 MB / 0.5778 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.3125, allocations: 2.493 MB / 0.5803 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.3142, allocations: 0.559 MB / 0.5808 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.317, allocations: 0.7923 MB / 0.5816 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3183, allocations: 1.244 MB / 0.5828 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.3224, allocations: 2.39 MB / 0.5851 GB, free: 32 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3332, allocations: 7.376 MB / 0.5923 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3332, allocations: 0 / 0.5923 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3332, allocations: 0 / 0.5923 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002065/0.3334, allocations: 0 / 0.5923 GB, free: 10.46 MB / 398.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.01575/0.3492, allocations: 4.891 MB / 0.5971 GB, free: 6.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.3492, allocations: 19.95 kB / 0.5971 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00178/0.351, allocations: 0.5452 MB / 0.5977 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.3569, allocations: 0.9429 MB / 0.5986 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007382/0.3643, allocations: 2.694 MB / 0.6012 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.3645, allocations: 279.8 kB / 0.6015 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.3656, allocations: 367.9 kB / 0.6018 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3757, allocations: 4.688 MB / 0.6064 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.3758, allocations: 7.953 kB / 0.6064 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.3762, allocations: 159.9 kB / 0.6066 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001727/0.3763, allocations: 155.3 kB / 0.6067 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007509/0.3838, allocations: 3.905 MB / 0.6105 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.4109, allocations: 15.14 MB / 0.6253 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.4159, allocations: 2.539 MB / 0.6278 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.4185, allocations: 1.285 MB / 0.629 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008708/0.4272, allocations: 3.71 MB / 0.6327 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.4273, allocations: 55.88 kB / 0.6327 GB, free: 1.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.537e-06/0.4273, allocations: 0 / 0.6327 GB, free: 1.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.01201/0.4393, allocations: 4.738 MB / 0.6373 GB, free: 12.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.4393, allocations: 68.72 kB / 0.6374 GB, free: 12.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.4434, allocations: 2.013 MB / 0.6394 GB, free: 10.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/0.4436, allocations: 53.7 kB / 0.6394 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.4451, allocations: 1.72 MB / 0.6411 GB, free: 8.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005889/0.4457, allocations: 0.4919 MB / 0.6416 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/0.4463, allocations: 371.4 kB / 0.6419 GB, free: 7.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4465, allocations: 305.1 kB / 0.6422 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.4477, allocations: 0.6637 MB / 0.6429 GB, free: 6.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.4495, allocations: 1.383 MB / 0.6442 GB, free: 4.895 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.4527, allocations: 2.191 MB / 0.6464 GB, free: 2.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.4527, allocations: 4 kB / 0.6464 GB, free: 2.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004514/0.4572, allocations: 2.416 MB / 0.6487 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.4573, allocations: 16 kB / 0.6488 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/0.4573, allocations: 20 kB / 0.6488 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.4578, allocations: 154.2 kB / 0.6489 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.4595, allocations: 463.3 kB / 0.6494 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.4618, allocations: 2.019 MB / 0.6513 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4636, allocations: 83.88 kB / 0.6514 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.4638, allocations: 99.92 kB / 0.6515 GB, free: 12.98 MB / 462.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.002269/0.466, allocations: 1.065 MB / 0.6525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.4665, allocations: 226.8 kB / 0.6528 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.4702, allocations: 1.842 MB / 0.6546 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4702, allocations: 19.94 kB / 0.6546 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.4702, allocations: 4 kB / 0.6546 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4702, allocations: 7.969 kB / 0.6546 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009499/0.4797, allocations: 4.75 MB / 0.6592 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.4797, allocations: 0 / 0.6592 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.4807, allocations: 211.6 kB / 0.6594 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000955/0.4816, allocations: 326.5 kB / 0.6597 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.4818, allocations: 35.98 kB / 0.6598 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/0.4896, allocations: 6.784 MB / 0.6664 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4897, allocations: 8.016 kB / 0.6664 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.4948, allocations: 2.737 MB / 0.6691 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.4963, allocations: 370.5 kB / 0.6694 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006802/0.497, allocations: 31.98 kB / 0.6695 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.4984, allocations: 59.92 kB / 0.6695 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.4987, allocations: 109 kB / 0.6696 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4988, allocations: 47.92 kB / 0.6697 GB, free: 9.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002977/0.5017, allocations: 1.351 MB / 0.671 GB, free: 8.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5017, allocations: 0 / 0.671 GB, free: 8.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003112/0.5049, allocations: 0.6055 MB / 0.6716 GB, free: 7.863 MB / 478.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.005746/0.5106, allocations: 3.36 MB / 0.6749 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.5139, allocations: 1.74 MB / 0.6766 GB, free: 2.684 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5139, allocations: 2 kB / 0.6766 GB, free: 2.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.5159, allocations: 1.167 MB / 0.6777 GB, free: 1.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.519, allocations: 0.5788 MB / 0.6783 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.234/0.753, allocations: 20.85 MB / 0.6986 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/0.7548, allocations: 2.406 MB / 0.701 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00141/0.7562, allocations: 473.1 kB / 0.7014 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/0.7576, allocations: 1.301 MB / 0.7027 GB, free: 119.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7576, allocations: 2.969 kB / 0.7027 GB, free: 119.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/0.8668, allocations: 55.39 MB / 0.7568 GB, free: 86.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.16, allocations: 13.61 kB / 0.7568 GB, free: 86.19 MB / 494.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.348572972929105] Failed to read output from testmodel.py, exit status != 0: 17.30983354197815 17.328995027 16.991743984 Calling exit ...