Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001113/0.001113, allocations: 86.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.704e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 47.58 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4348/0.5404, allocations: 88.41 MB / 457.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5408, allocations: 84.95 kB / 457.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2351/0.7759, allocations: 56.15 MB / 0.5018 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7759, allocations: 0 / 0.5018 GB, free: 14.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002029/0.7761, allocations: 51.92 kB / 0.5018 GB, free: 14.04 MB / 394.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.006747/0.7829, allocations: 1.828 MB / 0.5036 GB, free: 12.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.783, allocations: 8.031 kB / 0.5036 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009933/0.784, allocations: 270 kB / 0.5039 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.7852, allocations: 257.3 kB / 0.5041 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/0.7897, allocations: 1.294 MB / 0.5054 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.79, allocations: 135.5 kB / 0.5055 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006702/0.7906, allocations: 175.9 kB / 0.5057 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/0.7981, allocations: 2.444 MB / 0.5081 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/0.7982, allocations: 0 / 0.5081 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.7986, allocations: 76 kB / 0.5082 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/0.7987, allocations: 95.58 kB / 0.5082 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006272/0.805, allocations: 1.888 MB / 0.5101 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.8249, allocations: 6.908 MB / 0.5168 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.8286, allocations: 2.124 MB / 0.5189 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.831, allocations: 0.8527 MB / 0.5197 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/0.8316, allocations: 133.8 kB / 0.5199 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.8316, allocations: 43.34 kB / 0.5199 GB, free: 10.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 4.088e-06/0.8316, allocations: 4 kB / 0.5199 GB, free: 10.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.008667/0.8403, allocations: 2.7 MB / 0.5226 GB, free: 8.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.8404, allocations: 85.89 kB / 0.5226 GB, free: 8.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.8432, allocations: 1.082 MB / 0.5237 GB, free: 6.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.8436, allocations: 45.7 kB / 0.5237 GB, free: 6.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.8444, allocations: 0.7852 MB / 0.5245 GB, free: 6.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.8449, allocations: 307.7 kB / 0.5248 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.845, allocations: 16 kB / 0.5248 GB, free: 5.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.8452, allocations: 350.8 kB / 0.5251 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.8464, allocations: 457.8 kB / 0.5256 GB, free: 5.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.8478, allocations: 0.626 MB / 0.5262 GB, free: 4.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.8496, allocations: 0.5603 MB / 0.5267 GB, free: 3.766 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.8497, allocations: 0 / 0.5267 GB, free: 3.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004067/0.8538, allocations: 1.273 MB / 0.528 GB, free: 2.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.8539, allocations: 8 kB / 0.528 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8539, allocations: 4.594 kB / 0.528 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/0.8546, allocations: 128.6 kB / 0.5281 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.8567, allocations: 239.7 kB / 0.5283 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3037/1.16, allocations: 2.093 MB / 0.5304 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.162, allocations: 44.52 kB / 0.5304 GB, free: 97.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.162, allocations: 35.41 kB / 0.5305 GB, free: 97.08 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0002849/1.162, allocations: 156 kB / 0.5306 GB, free: 96.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/1.163, allocations: 123.7 kB / 0.5307 GB, free: 96.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/1.166, allocations: 1.192 MB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.166, allocations: 9.781 kB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.166, allocations: 2.531 kB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/1.166, allocations: 3.844 kB / 0.5319 GB, free: 96.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/1.176, allocations: 3.15 MB / 0.535 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.176, allocations: 0 / 0.535 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.177, allocations: 179.3 kB / 0.5352 GB, free: 96.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/1.178, allocations: 118.2 kB / 0.5353 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.178, allocations: 19.55 kB / 0.5353 GB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/1.182, allocations: 3.387 MB / 0.5386 GB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.182, allocations: 1.531 kB / 0.5386 GB, free: 93.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/1.187, allocations: 1.901 MB / 0.5405 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.188, allocations: 319.2 kB / 0.5408 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/1.188, allocations: 16.64 kB / 0.5408 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/1.19, allocations: 59.67 kB / 0.5408 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.19, allocations: 60.75 kB / 0.5409 GB, free: 93.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.19, allocations: 25.75 kB / 0.5409 GB, free: 93.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002218/1.192, allocations: 0.8521 MB / 0.5418 GB, free: 93.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.193, allocations: 0 / 0.5418 GB, free: 93.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002144/1.195, allocations: 364.3 kB / 0.5421 GB, free: 93.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * 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): 0 * Non-linear Jacobian: 1 {1} * 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 Backend phase and start with SimCode phase: time 0.005569/1.2, allocations: 2.677 MB / 0.5447 GB, free: 92.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003672/1.204, allocations: 1.218 MB / 0.5459 GB, free: 92.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.204, allocations: 1.5 kB / 0.5459 GB, free: 92.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001988/1.206, allocations: 0.6831 MB / 0.5466 GB, free: 92.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.209, allocations: 343.1 kB / 0.5469 GB, free: 92.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.219, allocations: 3.201 MB / 0.55 GB, free: 91.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/1.221, allocations: 1.714 MB / 0.5517 GB, free: 90.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.223, allocations: 0.6116 MB / 0.5523 GB, free: 90.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/1.223, allocations: 0 / 0.5523 GB, free: 90.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.399/4.622, allocations: 46.01 MB / 0.5972 GB, free: 78.92 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat