Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.001037/0.001037, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.336/1.336, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 86.88 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.412e-05, allocations: 0 / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09118, allocations: 50.42 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4206, allocations: 89.35 MB / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4209, allocations: 89.66 kB / 483.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4673/0.8882, allocations: 135.4 MB / 0.6047 GB, free: 95.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8882, allocations: 4 kB / 0.6047 GB, free: 95.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001209/0.8883, allocations: 90.75 kB / 0.6048 GB, free: 95.02 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.009935/0.8983, allocations: 3.701 MB / 0.6084 GB, free: 92.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8983, allocations: 7 kB / 0.6084 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001383/0.8997, allocations: 0.5802 MB / 0.609 GB, free: 92.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/0.905, allocations: 0.9395 MB / 0.6099 GB, free: 91.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.9098, allocations: 2.428 MB / 0.6123 GB, free: 90.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.91, allocations: 291 kB / 0.6126 GB, free: 89.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007622/0.9108, allocations: 378.8 kB / 0.6129 GB, free: 89.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00871/0.9195, allocations: 5.819 MB / 0.6186 GB, free: 86.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.83e-05/0.9196, allocations: 11.84 kB / 0.6186 GB, free: 86.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/0.9199, allocations: 168 kB / 0.6188 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/0.9202, allocations: 280.4 kB / 0.619 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0065/0.9267, allocations: 4.251 MB / 0.6232 GB, free: 81.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/0.9492, allocations: 18.64 MB / 0.6414 GB, free: 62.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.953, allocations: 3.88 MB / 0.6452 GB, free: 57.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.9542, allocations: 0.842 MB / 0.646 GB, free: 57.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.9543, allocations: 109.1 kB / 0.6461 GB, free: 56.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.9543, allocations: 43.56 kB / 0.6462 GB, free: 56.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.045e-06/0.9543, allocations: 0 / 0.6462 GB, free: 56.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.00157/0.9559, allocations: 1.156 MB / 0.6473 GB, free: 55.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.9559, allocations: 68.36 kB / 0.6473 GB, free: 55.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.9573, allocations: 1.185 MB / 0.6485 GB, free: 54.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.9574, allocations: 45.7 kB / 0.6486 GB, free: 54.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/0.958, allocations: 1.757 MB / 0.6503 GB, free: 52.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.9582, allocations: 382.3 kB / 0.6506 GB, free: 52.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.9583, allocations: 40 kB / 0.6507 GB, free: 52.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.9584, allocations: 443.1 kB / 0.6511 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/0.9594, allocations: 0.8398 MB / 0.6519 GB, free: 50.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.9607, allocations: 1.837 MB / 0.6537 GB, free: 48.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.962, allocations: 1.301 MB / 0.655 GB, free: 47.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.962, allocations: 12 kB / 0.655 GB, free: 47.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003216/0.9652, allocations: 2.761 MB / 0.6577 GB, free: 44.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.9653, allocations: 20.97 kB / 0.6577 GB, free: 44.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.9653, allocations: 36 kB / 0.6577 GB, free: 44.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-05/0.9654, allocations: 59.94 kB / 0.6578 GB, free: 44.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.9669, allocations: 0.5265 MB / 0.6583 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.497e-05/0.967, allocations: 67.78 kB / 0.6584 GB, free: 43.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.9684, allocations: 289.2 kB / 0.6586 GB, free: 43.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.9686, allocations: 120 kB / 0.6588 GB, free: 43.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.9689, allocations: 255.9 kB / 0.659 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.9691, allocations: 118.5 kB / 0.6591 GB, free: 43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.9713, allocations: 1.509 MB / 0.6606 GB, free: 41.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001201/0.9725, allocations: 1.08 MB / 0.6616 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9725, allocations: 0 / 0.6616 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.9726, allocations: 3.984 kB / 0.6617 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.9859, allocations: 12.15 MB / 0.6735 GB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.9859, allocations: 23.98 kB / 0.6735 GB, free: 27.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.9866, allocations: 239.7 kB / 0.6738 GB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/0.9867, allocations: 28 kB / 0.6738 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.9868, allocations: 51.98 kB / 0.6738 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.909e-05/0.9868, allocations: 39.86 kB / 0.6739 GB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/0.9868, allocations: 35.81 kB / 0.6739 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.9896, allocations: 3.924 MB / 0.6777 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.99, allocations: 243.2 kB / 0.678 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.9901, allocations: 60.03 kB / 0.678 GB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.9908, allocations: 67.95 kB / 0.6781 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.991, allocations: 147.3 kB / 0.6782 GB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.9911, allocations: 63.98 kB / 0.6783 GB, free: 21.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.9921, allocations: 0.8835 MB / 0.6792 GB, free: 20.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9921, allocations: 0 / 0.6792 GB, free: 20.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002356/0.9945, allocations: 0.878 MB / 0.68 GB, free: 20.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004156/0.9986, allocations: 10.99 MB / 0.6908 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002637/1.001, allocations: 1.918 MB / 0.6926 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.001, allocations: 4 kB / 0.6926 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008108/1.002, allocations: 0.6544 MB / 0.6933 GB, free: 5.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.004, allocations: 308.2 kB / 0.6936 GB, free: 5.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/1.015, allocations: 6.427 MB / 0.6998 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.018, allocations: 2.863 MB / 0.7026 GB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001973/1.02, allocations: 0.7656 MB / 0.7034 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.021, allocations: 1.128 MB / 0.7045 GB, free: 9.965 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/1.021, allocations: 4 kB / 0.7045 GB, free: 9.961 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.285/1.306, allocations: 38.68 MB / 0.7423 GB, free: 100.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/1.306, allocations: 170.3 kB / 0.7424 GB, free: 100.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.864, allocations: 0.9375 kB / 0.7424 GB, free: 100.3 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat