Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 181.2 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0009445/0.0009447, allocations: 84.95 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002757, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2062, allocations: 50.42 MB / 401.6 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.31, allocations: 89.18 MB / 490.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.3103, allocations: 87.95 kB / 490.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3055/0.6158, allocations: 56.17 MB / 0.5342 GB, free: 78.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6158, allocations: 3.984 kB / 0.5342 GB, free: 78.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001514/0.616, allocations: 51.94 kB / 0.5343 GB, free: 78.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004876/0.6209, allocations: 2.032 MB / 0.5362 GB, free: 76.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6209, allocations: 12.03 kB / 0.5363 GB, free: 76.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006968/0.6216, allocations: 274 kB / 0.5365 GB, free: 75.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.6225, allocations: 253.3 kB / 0.5368 GB, free: 75.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.6252, allocations: 1.34 MB / 0.5381 GB, free: 74.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.6253, allocations: 127.5 kB / 0.5382 GB, free: 74.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.6258, allocations: 175.3 kB / 0.5384 GB, free: 73.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/0.6305, allocations: 2.476 MB / 0.5408 GB, free: 71.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.6306, allocations: 0 / 0.5408 GB, free: 71.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.6308, allocations: 74.03 kB / 0.5408 GB, free: 71.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.099e-05/0.6309, allocations: 99.58 kB / 0.5409 GB, free: 71.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.6344, allocations: 1.943 MB / 0.5428 GB, free: 69.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.6452, allocations: 7.459 MB / 0.5501 GB, free: 61.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.6465, allocations: 1.267 MB / 0.5514 GB, free: 60.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.6467, allocations: 125.5 kB / 0.5515 GB, free: 60.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.6468, allocations: 46.98 kB / 0.5515 GB, free: 59.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.555e-06/0.6468, allocations: 0 / 0.5515 GB, free: 59.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.00368/0.6505, allocations: 2.277 MB / 0.5537 GB, free: 57.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.6505, allocations: 85.55 kB / 0.5538 GB, free: 57.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.6524, allocations: 1.357 MB / 0.5551 GB, free: 56.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.6525, allocations: 37.7 kB / 0.5552 GB, free: 56.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/0.6529, allocations: 0.9713 MB / 0.5561 GB, free: 55.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6531, allocations: 201.3 kB / 0.5563 GB, free: 54.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.6531, allocations: 20 kB / 0.5563 GB, free: 54.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.6532, allocations: 357.9 kB / 0.5567 GB, free: 54.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.6538, allocations: 458.3 kB / 0.5571 GB, free: 54.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.6547, allocations: 1.078 MB / 0.5582 GB, free: 52.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/0.6555, allocations: 0.6682 MB / 0.5588 GB, free: 52.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.6555, allocations: 8 kB / 0.5588 GB, free: 52.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002282/0.6578, allocations: 1.671 MB / 0.5605 GB, free: 50.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.6578, allocations: 19.98 kB / 0.5605 GB, free: 50.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.6579, allocations: 24 kB / 0.5605 GB, free: 50.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.6583, allocations: 137 kB / 0.5606 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.6591, allocations: 295.5 kB / 0.5609 GB, free: 49.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.6609, allocations: 2.191 MB / 0.5631 GB, free: 47.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.662, allocations: 91.58 kB / 0.5631 GB, free: 47.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.6621, allocations: 75.98 kB / 0.5632 GB, free: 47.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (145): * Single equations (assignments): 144 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.001058/0.6632, allocations: 0.6962 MB / 0.5639 GB, free: 46.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.6635, allocations: 134.5 kB / 0.564 GB, free: 46.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6649, allocations: 0.8529 MB / 0.5649 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.6649, allocations: 4 kB / 0.5649 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6649, allocations: 4 kB / 0.5649 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6649, allocations: 3.984 kB / 0.5649 GB, free: 45.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.6688, allocations: 2.53 MB / 0.5673 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6688, allocations: 4 kB / 0.5673 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.6692, allocations: 95.89 kB / 0.5674 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003197/0.6695, allocations: 116.8 kB / 0.5676 GB, free: 42.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.6696, allocations: 15.98 kB / 0.5676 GB, free: 42.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.6712, allocations: 2.128 MB / 0.5696 GB, free: 40.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.6712, allocations: 7.984 kB / 0.5697 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6729, allocations: 1.492 MB / 0.5711 GB, free: 38.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.6736, allocations: 287.5 kB / 0.5714 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.6739, allocations: 16 kB / 0.5714 GB, free: 38.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.6746, allocations: 56.03 kB / 0.5715 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6747, allocations: 55.83 kB / 0.5715 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.6748, allocations: 23.98 kB / 0.5715 GB, free: 38.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001441/0.6762, allocations: 1.032 MB / 0.5725 GB, free: 37.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6762, allocations: 0 / 0.5725 GB, free: 37.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00151/0.6778, allocations: 360 kB / 0.5729 GB, free: 37.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 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 Backend phase and start with SimCode phase: time 0.002309/0.6801, allocations: 2.86 MB / 0.5757 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.682, allocations: 1.172 MB / 0.5768 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.682, allocations: 0 / 0.5768 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.6827, allocations: 0.5116 MB / 0.5773 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6844, allocations: 353.6 kB / 0.5777 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.7037, allocations: 25.04 MB / 0.6021 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.705, allocations: 1.733 MB / 0.6038 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001076/0.7061, allocations: 327.4 kB / 0.6041 GB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.7068, allocations: 0.6125 MB / 0.6047 GB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7068, allocations: 0 / 0.6047 GB, free: 3.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/0.7629, allocations: 32.34 MB / 0.6363 GB, free: 3.699 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.7632, allocations: 217.6 kB / 0.6365 GB, free: 3.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.568, allocations: 0 / 0.6365 GB, free: 3.465 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat