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.001304/0.001304, allocations: 116.8 kB / 17.17 MB, free: 6 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.401/1.401, allocations: 230.6 MB / 250.5 MB, free: 9.211 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.001601/0.001601, allocations: 216.2 kB / 306.7 MB, free: 4.281 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.04163/0.04163, allocations: 8.912 MB / 371.7 MB, free: 3.418 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="cs",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.00241/0.00241, allocations: 83.81 kB / 496.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.256, allocations: 55.56 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3): time 0.0123/0.2683, allocations: 16.63 MB / 0.5554 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.2763, allocations: 5.598 MB / 0.5608 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.2789, allocations: 116.6 kB / 0.5609 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.2819, allocations: 1.272 MB / 0.5622 GB, free: 9.879 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.004412/0.2863, allocations: 1.563 MB / 0.5637 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.2892, allocations: 1.033 MB / 0.5647 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.2948, allocations: 4.656 MB / 0.5693 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/0.2984, allocations: 2.43 MB / 0.5716 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.302, allocations: 2.118 MB / 0.5737 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004539/0.3066, allocations: 2.478 MB / 0.5761 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.3085, allocations: 0.5652 MB / 0.5767 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.3119, allocations: 0.7884 MB / 0.5774 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001857/0.3138, allocations: 1.25 MB / 0.5787 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004663/0.3185, allocations: 2.378 MB / 0.581 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.33, allocations: 7.382 MB / 0.5882 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.33, allocations: 3.938 kB / 0.5882 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.33, allocations: 1.188 kB / 0.5882 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002419/0.3303, allocations: 0 / 0.5882 GB, free: 10.66 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.01637/0.3466, allocations: 4.967 MB / 0.5931 GB, free: 6.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3467, allocations: 8.031 kB / 0.5931 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001438/0.3468, allocations: 106.1 kB / 0.5932 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/0.3484, allocations: 0.5569 MB / 0.5937 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/0.354, allocations: 0.9429 MB / 0.5946 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00635/0.3604, allocations: 2.774 MB / 0.5973 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002709/0.3607, allocations: 279.6 kB / 0.5976 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.3617, allocations: 367.9 kB / 0.598 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3721, allocations: 4.7 MB / 0.6025 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-05/0.3722, allocations: 3.938 kB / 0.6026 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004717/0.3726, allocations: 148 kB / 0.6027 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.3728, allocations: 155.3 kB / 0.6028 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008234/0.381, allocations: 3.909 MB / 0.6067 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.4091, allocations: 15.52 MB / 0.6218 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006683/0.4157, allocations: 6.21 MB / 0.6279 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.4186, allocations: 1.304 MB / 0.6291 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008821/0.4274, allocations: 4.828 MB / 0.6339 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4275, allocations: 51.88 kB / 0.6339 GB, free: 11.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 3.948e-06/0.4275, allocations: 0 / 0.6339 GB, free: 11.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.01476/0.4422, allocations: 6.448 MB / 0.6402 GB, free: 4.531 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.4423, allocations: 72.72 kB / 0.6403 GB, free: 4.449 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.4456, allocations: 2.01 MB / 0.6422 GB, free: 2.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.4458, allocations: 49.7 kB / 0.6423 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4472, allocations: 1.724 MB / 0.644 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.4478, allocations: 0.5771 MB / 0.6445 GB, free: 24 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.4484, allocations: 391.8 kB / 0.6449 GB, free: 15.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4485, allocations: 309.1 kB / 0.6452 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.4499, allocations: 0.7538 MB / 0.6459 GB, free: 14.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.4518, allocations: 1.475 MB / 0.6474 GB, free: 12.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.4554, allocations: 2.413 MB / 0.6497 GB, free: 10.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.4554, allocations: 4 kB / 0.6497 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.005276/0.4607, allocations: 2.883 MB / 0.6526 GB, free: 7.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.4607, allocations: 16 kB / 0.6526 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.4608, allocations: 27.94 kB / 0.6526 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/0.4617, allocations: 330.5 kB / 0.6529 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.4634, allocations: 483.2 kB / 0.6534 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.4692, allocations: 5.159 MB / 0.6584 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4711, allocations: 83.92 kB / 0.6585 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.4713, allocations: 99.98 kB / 0.6586 GB, free: 0.6328 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 (249): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,15,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002072/0.4734, allocations: 1.089 MB / 0.6597 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.4739, allocations: 234.5 kB / 0.6599 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.4782, allocations: 2.272 MB / 0.6621 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.4782, allocations: 23.94 kB / 0.6621 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4782, allocations: 8 kB / 0.6621 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.4782, allocations: 7.969 kB / 0.6621 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.4879, allocations: 5.461 MB / 0.6675 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.4879, allocations: 4 kB / 0.6675 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.4891, allocations: 255.7 kB / 0.6677 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.4901, allocations: 366.5 kB / 0.6681 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.4902, allocations: 39.98 kB / 0.6681 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008077/0.4983, allocations: 7.345 MB / 0.6753 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4983, allocations: 7.984 kB / 0.6753 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.504, allocations: 3.332 MB / 0.6785 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.5053, allocations: 479.5 kB / 0.679 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000443/0.5058, allocations: 36 kB / 0.679 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5069, allocations: 59.95 kB / 0.6791 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.5072, allocations: 117.1 kB / 0.6792 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5073, allocations: 43.98 kB / 0.6792 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002312/0.5096, allocations: 1.355 MB / 0.6806 GB, free: 9.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5096, allocations: 384 / 0.6806 GB, free: 9.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002796/0.5124, allocations: 0.6445 MB / 0.6812 GB, free: 8.703 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 ($outputAlias_ie,smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im) * 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 (129): * Single equations (assignments): 126 * 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 {(2,15,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006062/0.5184, allocations: 3.946 MB / 0.685 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004072/0.5225, allocations: 2.245 MB / 0.6872 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5225, allocations: 0 / 0.6872 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.5248, allocations: 1.308 MB / 0.6885 GB, free: 1.012 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.5279, allocations: 0.5781 MB / 0.6891 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2408/0.7687, allocations: 22.15 MB / 0.7107 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.7707, allocations: 2.448 MB / 0.7131 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001564/0.7723, allocations: 491.8 kB / 0.7136 GB, free: 134.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/0.7737, allocations: 1.324 MB / 0.7149 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/0.7738, allocations: 3.219 kB / 0.7149 GB, free: 133.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09713/0.8709, allocations: 56.63 MB / 0.7702 GB, free: 98.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.38, allocations: 7.344 kB / 0.7702 GB, free: 98.71 MB / 0.4981 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.052119831030723] Failed to read output from testmodel.py, exit status != 0: 15.544513671018649 15.553572357 15.221203063 Calling exit ...