Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000902/0.0009018, allocations: 84.23 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.3834, allocations: 94.62 MB / 470.5 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.3837, allocations: 87.94 kB / 470.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9376/1.321, allocations: 311.1 MB / 0.7634 GB, free: 44.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.867e-06/1.321, allocations: 0 / 0.7634 GB, free: 44.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008067/1.322, allocations: 187.4 kB / 0.7636 GB, free: 44.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03296/1.355, allocations: 9.852 MB / 0.7732 GB, free: 34.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.355, allocations: 12.03 kB / 0.7732 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006231/1.362, allocations: 1.311 MB / 0.7745 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02864/1.39, allocations: 5.557 MB / 0.7799 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/1.405, allocations: 6.135 MB / 0.7859 GB, free: 21.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007676/1.405, allocations: 0.6375 MB / 0.7865 GB, free: 20.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003479/1.409, allocations: 0.8085 MB / 0.7873 GB, free: 19.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04137/1.45, allocations: 16.82 MB / 0.8038 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/1.451, allocations: 7.906 kB / 0.8038 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003331/1.454, allocations: 352 kB / 0.8041 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009084/1.455, allocations: 0.7129 MB / 0.8048 GB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4475/1.903, allocations: 16.19 MB / 0.8206 GB, free: 58.58 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08367/1.986, allocations: 51.26 MB / 0.8707 GB, free: 47.82 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/2.003, allocations: 13.8 MB / 0.8842 GB, free: 41.16 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009793/2.004, allocations: 319.1 kB / 0.8845 GB, free: 41 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.152e-05/2.004, allocations: 117.9 kB / 0.8846 GB, free: 40.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=968): time 1.1e-05/2.004, allocations: 3.391 kB / 0.8846 GB, free: 40.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=968): time 0.06956/2.074, allocations: 39.61 MB / 0.9233 GB, free: 17.22 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/2.074, allocations: 155.2 kB / 0.9234 GB, free: 17.05 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/2.076, allocations: 1.638 MB / 0.925 GB, free: 15.69 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001609/2.078, allocations: 149.7 kB / 0.9251 GB, free: 15.54 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/2.079, allocations: 2.531 MB / 0.9276 GB, free: 13.49 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003499/2.083, allocations: 3.15 MB / 0.9307 GB, free: 10.64 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006502/2.083, allocations: 128 kB / 0.9308 GB, free: 10.51 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000569/2.084, allocations: 0.6563 MB / 0.9315 GB, free: 9.945 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008047/2.092, allocations: 6.508 MB / 0.9378 GB, free: 4.434 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01611/2.108, allocations: 7.542 MB / 0.9452 GB, free: 15.41 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/2.123, allocations: 7.512 MB / 0.9525 GB, free: 8.816 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.653e-05/2.123, allocations: 4 kB / 0.9525 GB, free: 8.812 MB / 442.8 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04333/2.166, allocations: 18.34 MB / 0.9704 GB, free: 9.559 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/2.166, allocations: 4.562 kB / 0.9704 GB, free: 9.555 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-05/2.166, allocations: 12 kB / 0.9704 GB, free: 9.543 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/2.181, allocations: 6.639 MB / 0.9769 GB, free: 4.109 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006321/2.187, allocations: 1.167 MB / 0.9781 GB, free: 2.992 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2637/2.451, allocations: 12.77 MB / 0.9905 GB, free: 84.67 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/2.456, allocations: 0.7812 MB / 0.9913 GB, free: 84.67 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/2.458, allocations: 276.8 kB / 0.9916 GB, free: 84.67 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.00748/2.465, allocations: 3.58 MB / 0.9951 GB, free: 84.56 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/2.467, allocations: 408.8 kB / 0.9954 GB, free: 84.36 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03461/2.501, allocations: 19.47 MB / 1.014 GB, free: 83.93 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000446/2.502, allocations: 275.3 kB / 1.015 GB, free: 83.93 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.043e-05/2.502, allocations: 3.594 kB / 1.015 GB, free: 83.93 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001538/2.502, allocations: 40.12 kB / 1.015 GB, free: 83.93 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05544/2.558, allocations: 34.22 MB / 1.048 GB, free: 76.04 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-05/2.558, allocations: 2.156 kB / 1.048 GB, free: 76.04 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005255/2.563, allocations: 1.099 MB / 1.049 GB, free: 76.01 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/2.575, allocations: 6.64 MB / 1.056 GB, free: 74.23 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002802/2.578, allocations: 212.8 kB / 1.056 GB, free: 74.12 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/2.593, allocations: 12.73 MB / 1.068 GB, free: 67.68 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.593, allocations: 3.703 kB / 1.068 GB, free: 67.68 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04203/2.635, allocations: 28.74 MB / 1.096 GB, free: 47.1 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006599/2.642, allocations: 2.075 MB / 1.098 GB, free: 45.36 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002609/2.644, allocations: 132 kB / 1.099 GB, free: 45.23 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005028/2.649, allocations: 424.5 kB / 1.099 GB, free: 44.95 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002487/2.652, allocations: 0.7069 MB / 1.1 GB, free: 44.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001714/2.654, allocations: 266.2 kB / 1.1 GB, free: 44.27 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001916/2.655, allocations: 1.276 MB / 1.101 GB, free: 43.23 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.7e-07/2.655, allocations: 0 / 1.101 GB, free: 43.23 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00829/2.664, allocations: 2.394 MB / 1.104 GB, free: 40.89 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.04691/2.711, allocations: 29.6 MB / 1.132 GB, free: 15.18 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.274/2.985, allocations: 15.7 MB / 1.148 GB, free: 91.98 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.457e-06/2.985, allocations: 0 / 1.148 GB, free: 91.98 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01575/3.001, allocations: 8.408 MB / 1.156 GB, free: 91.87 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/3.006, allocations: 0.5973 MB / 1.157 GB, free: 91.86 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1154/3.122, allocations: 65.54 MB / 1.221 GB, free: 72.73 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00803/3.13, allocations: 6.329 MB / 1.227 GB, free: 70.47 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005427/3.135, allocations: 1.819 MB / 1.229 GB, free: 70.31 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003985/3.139, allocations: 2.941 MB / 1.231 GB, free: 67.84 MB / 458.8 MB Notification: Performance of SimCode: time 1.493e-06/3.139, allocations: 0 / 1.231 GB, free: 67.84 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4989/3.638, allocations: 200 MB / 1.427 GB, free: 34.95 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/3.638, allocations: 246.6 kB / 1.427 GB, free: 34.62 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.044/8.682, allocations: 2.906 kB / 1.427 GB, free: 34.62 MB / 458.8 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)