Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.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.001314/0.001314, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 14.28 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.002215/0.002215, allocations: 216.2 kB / 310 MB, free: 3.07 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.04118/0.04118, allocations: 8.922 MB / 375.4 MB, free: 6.57 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_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",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.002557/0.002557, allocations: 79.88 kB / 0.49 GB, free: 44.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08368, allocations: 55.61 MB / 0.5443 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2): time 0.01884/0.1025, allocations: 14.41 MB / 0.5583 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.1129, allocations: 5.275 MB / 0.5635 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.1156, allocations: 123.3 kB / 0.5636 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2171/0.3327, allocations: 1.203 MB / 0.5648 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00659/0.3393, allocations: 1.553 MB / 0.5663 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.3424, allocations: 1.011 MB / 0.5673 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006202/0.3486, allocations: 4.636 MB / 0.5718 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.352, allocations: 2.002 MB / 0.5738 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.3555, allocations: 2.117 MB / 0.5758 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005456/0.361, allocations: 2.484 MB / 0.5783 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.3629, allocations: 0.5601 MB / 0.5788 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.3662, allocations: 0.7863 MB / 0.5796 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.368, allocations: 1.251 MB / 0.5808 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004431/0.3725, allocations: 1.897 MB / 0.5827 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3829, allocations: 7.417 MB / 0.5899 GB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3829, allocations: 4 kB / 0.5899 GB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3829, allocations: 0 / 0.5899 GB, free: 3.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002555/0.3832, allocations: 0 / 0.5899 GB, free: 3.848 MB / 382.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.01561/0.3988, allocations: 4.881 MB / 0.5947 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3988, allocations: 13.67 kB / 0.5947 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001852/0.399, allocations: 113.2 kB / 0.5948 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.4001, allocations: 0.5517 MB / 0.5953 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/0.4056, allocations: 0.9464 MB / 0.5963 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007309/0.4129, allocations: 2.692 MB / 0.5989 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.4132, allocations: 275.1 kB / 0.5991 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.4145, allocations: 373.2 kB / 0.5995 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.4256, allocations: 4.844 MB / 0.6042 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-05/0.4257, allocations: 14.62 kB / 0.6042 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/0.4262, allocations: 150.6 kB / 0.6044 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.4263, allocations: 156.4 kB / 0.6045 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007585/0.4339, allocations: 3.91 MB / 0.6084 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02839/0.4623, allocations: 13.8 MB / 0.6218 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005324/0.4676, allocations: 2.503 MB / 0.6243 GB, free: 8.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.4704, allocations: 1.361 MB / 0.6256 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008452/0.4789, allocations: 3.353 MB / 0.6289 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.4789, allocations: 51.86 kB / 0.6289 GB, free: 4.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.747e-06/0.479, allocations: 0 / 0.6289 GB, free: 4.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.01398/0.4929, allocations: 5.873 MB / 0.6347 GB, free: 14.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.493, allocations: 68.72 kB / 0.6347 GB, free: 14.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.4966, allocations: 2.094 MB / 0.6368 GB, free: 11.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.4967, allocations: 49.7 kB / 0.6368 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4982, allocations: 1.751 MB / 0.6385 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.4988, allocations: 0.5823 MB / 0.6391 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/0.4994, allocations: 408.1 kB / 0.6395 GB, free: 9.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4996, allocations: 305.1 kB / 0.6398 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.5009, allocations: 0.7852 MB / 0.6406 GB, free: 8.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.503, allocations: 1.575 MB / 0.6421 GB, free: 6.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.5185, allocations: 4.874 MB / 0.6469 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/0.5185, allocations: 8 kB / 0.6469 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005546/0.5241, allocations: 2.89 MB / 0.6497 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.5241, allocations: 20.03 kB / 0.6497 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/0.5242, allocations: 27.98 kB / 0.6497 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5252, allocations: 368.4 kB / 0.6501 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.5269, allocations: 487.2 kB / 0.6505 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.5323, allocations: 3.916 MB / 0.6544 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.5343, allocations: 95.86 kB / 0.6545 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.5345, allocations: 104 kB / 0.6546 GB, free: 8.926 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (259): * Single equations (assignments): 257 * 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 {(4,23,68.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0025/0.537, allocations: 1.095 MB / 0.6556 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/0.5377, allocations: 242.5 kB / 0.6559 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.5415, allocations: 1.99 MB / 0.6578 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.5415, allocations: 16 kB / 0.6578 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5416, allocations: 7.938 kB / 0.6578 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.5416, allocations: 7.969 kB / 0.6578 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009777/0.5513, allocations: 5.08 MB / 0.6628 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5514, allocations: 4.344 kB / 0.6628 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.5526, allocations: 275.6 kB / 0.6631 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008536/0.5534, allocations: 280.6 kB / 0.6633 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.5535, allocations: 39.98 kB / 0.6634 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/0.5587, allocations: 3.678 MB / 0.667 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5587, allocations: 4 kB / 0.667 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/0.564, allocations: 2.962 MB / 0.6699 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.5653, allocations: 414.3 kB / 0.6702 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.5657, allocations: 32 kB / 0.6703 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5667, allocations: 63.91 kB / 0.6703 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.567, allocations: 117 kB / 0.6705 GB, free: 8.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5671, allocations: 43.98 kB / 0.6705 GB, free: 8.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.5695, allocations: 1.403 MB / 0.6719 GB, free: 6.926 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5695, allocations: 0 / 0.6719 GB, free: 6.926 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002538/0.5721, allocations: 0.6484 MB / 0.6725 GB, free: 6.277 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 ($outputAlias_ie,smee.phiMechanical,smee.is[2],smee.stator.core.Phi.re,smee.stator.core.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 (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,22,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005333/0.5774, allocations: 3.589 MB / 0.676 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004051/0.5814, allocations: 2.134 MB / 0.6781 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5815, allocations: 0 / 0.6781 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.5834, allocations: 1.034 MB / 0.6791 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/0.5866, allocations: 0.5893 MB / 0.6797 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03923/0.6258, allocations: 22.25 MB / 0.7014 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.6285, allocations: 1.897 MB / 0.7033 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.6304, allocations: 0.5 MB / 0.7037 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/0.6323, allocations: 1.358 MB / 0.7051 GB, free: 3.793 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.6323, allocations: 0 / 0.7051 GB, free: 3.793 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/0.7499, allocations: 60.28 MB / 0.7639 GB, free: 8.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/16.5, allocations: 15.59 kB / 0.7639 GB, free: 8.086 MB / 0.545 GB " [Timeout remaining time 643] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.34417510102503] Failed to read output from testmodel.py, exit status != 0: 16.698421036009677 16.911297002 16.525615444 Calling exit ...