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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 181.3 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03877/0.03877, allocations: 8.703 MB / 16.57 MB, free: 0.582 MB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 221.4 MB / 240.5 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 108.4 kB / 293.5 MB, free: 5.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.127e-06, allocations: 4 kB / 352.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2375, allocations: 52.54 MB / 404.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.5866, allocations: 116.3 MB / 0.5087 GB, free: 98.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5869, allocations: 75.58 kB / 0.5088 GB, free: 98.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.3356/0.9225, allocations: 154 MB / 0.6592 GB, free: 7.926 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002823/0.9228, allocations: 83.94 kB / 0.6593 GB, free: 7.844 MB / 442.7 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.01107/0.9339, allocations: 3.51 MB / 0.6627 GB, free: 4.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.934, allocations: 15.97 kB / 0.6627 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/0.9399, allocations: 0.8773 MB / 0.6636 GB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2464/1.186, allocations: 3.542 MB / 0.667 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/1.187, allocations: 117.3 kB / 0.6671 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/1.188, allocations: 224 kB / 0.6673 GB, free: 98.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008147/1.196, allocations: 3.409 MB / 0.6707 GB, free: 98.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007672/1.204, allocations: 4.048 MB / 0.6746 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.327e-05/1.204, allocations: 7.219 kB / 0.6746 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/1.204, allocations: 4.344 kB / 0.6746 GB, free: 97.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/1.204, allocations: 154.6 kB / 0.6748 GB, free: 97.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/1.225, allocations: 15.03 MB / 0.6895 GB, free: 94.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.227, allocations: 1.044 MB / 0.6905 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001996/1.229, allocations: 1.41 MB / 0.6919 GB, free: 94.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006302/1.235, allocations: 4.215 MB / 0.696 GB, free: 93.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.235, allocations: 53.47 kB / 0.696 GB, free: 93.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=149): time 3.156e-06/1.235, allocations: 0 / 0.696 GB, free: 93.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.00741/1.243, allocations: 4.102 MB / 0.7 GB, free: 92.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/1.243, allocations: 67.75 kB / 0.7001 GB, free: 92.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/1.245, allocations: 1.374 MB / 0.7014 GB, free: 91.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/1.245, allocations: 29.23 kB / 0.7015 GB, free: 91.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/1.246, allocations: 1.387 MB / 0.7028 GB, free: 91.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/1.246, allocations: 0.5003 MB / 0.7033 GB, free: 90.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/1.246, allocations: 0 / 0.7033 GB, free: 90.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/1.246, allocations: 386 kB / 0.7037 GB, free: 90.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/1.247, allocations: 0.664 MB / 0.7043 GB, free: 90.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/1.249, allocations: 1.334 MB / 0.7056 GB, free: 89.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/1.25, allocations: 0.9609 MB / 0.7066 GB, free: 89.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.25, allocations: 6.625 kB / 0.7066 GB, free: 89.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003517/1.254, allocations: 2.347 MB / 0.7089 GB, free: 89.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.254, allocations: 3.844 kB / 0.7089 GB, free: 89.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.254, allocations: 26.92 kB / 0.7089 GB, free: 89.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/1.254, allocations: 156 kB / 0.709 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.256, allocations: 478.2 kB / 0.7095 GB, free: 89.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/1.257, allocations: 1.89 MB / 0.7113 GB, free: 88.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.259, allocations: 42.5 kB / 0.7114 GB, free: 88.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.259, allocations: 98.55 kB / 0.7115 GB, free: 88.09 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 251 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002638/1.259, allocations: 175.1 kB / 0.7116 GB, free: 87.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/1.26, allocations: 196.5 kB / 0.7118 GB, free: 87.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/1.263, allocations: 2.054 MB / 0.7138 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.263, allocations: 15.03 kB / 0.7138 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.263, allocations: 5.75 kB / 0.7139 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.263, allocations: 7.781 kB / 0.7139 GB, free: 87.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008171/1.271, allocations: 4.799 MB / 0.7185 GB, free: 86.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.271, allocations: 0 / 0.7185 GB, free: 86.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.272, allocations: 235.4 kB / 0.7188 GB, free: 86.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008101/1.273, allocations: 324.5 kB / 0.7191 GB, free: 86.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.273, allocations: 16.95 kB / 0.7191 GB, free: 86.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005243/1.279, allocations: 6.14 MB / 0.7251 GB, free: 82.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.279, allocations: 16.53 kB / 0.7251 GB, free: 82.86 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004265/1.283, allocations: 3.074 MB / 0.7281 GB, free: 82.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.284, allocations: 414.7 kB / 0.7285 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/1.284, allocations: 13.84 kB / 0.7285 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.286, allocations: 40.42 kB / 0.7286 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.286, allocations: 83.33 kB / 0.7286 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-05/1.286, allocations: 41.33 kB / 0.7287 GB, free: 81.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001739/1.288, allocations: 1.016 MB / 0.7297 GB, free: 81.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00248/1.29, allocations: 0.5581 MB / 0.7302 GB, free: 81.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 117 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005126/1.291, allocations: 332.1 kB / 0.7305 GB, free: 81.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002638/1.293, allocations: 1.868 MB / 0.7324 GB, free: 81.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.293, allocations: 0 / 0.7324 GB, free: 81.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.295, allocations: 1.151 MB / 0.7335 GB, free: 81.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.297, allocations: 403.5 kB / 0.7339 GB, free: 81.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/1.309, allocations: 4.752 MB / 0.7385 GB, free: 80.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/1.312, allocations: 2.611 MB / 0.7411 GB, free: 79.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.595e-06/1.312, allocations: 0 / 0.7411 GB, free: 79.3 MB / 442.7 MB Notification: Performance of Templates: time 0.04921/1.361, allocations: 26.67 MB / 0.7671 GB, free: 78.1 MB / 442.7 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)