Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009794/0.0009792, allocations: 88.86 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.148e-05, allocations: 4 kB / 350.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 51.47 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4614, allocations: 83.63 MB / 485.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.4617, allocations: 77.33 kB / 485.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03656/0.4982, allocations: 16.27 MB / 0.4903 GB, free: 7.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4983, allocations: 4 kB / 0.4903 GB, free: 7.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.4983, allocations: 8 kB / 0.4903 GB, free: 7.059 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00165/0.5, allocations: 0.7481 MB / 0.4911 GB, free: 6.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5, allocations: 8.031 kB / 0.4911 GB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.5002, allocations: 103.7 kB / 0.4912 GB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.5025, allocations: 367.1 kB / 0.4915 GB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.5029, allocations: 306.4 kB / 0.4918 GB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.5029, allocations: 38.17 kB / 0.4919 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.33e-05/0.503, allocations: 56 kB / 0.4919 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.5039, allocations: 0.4982 MB / 0.4924 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.504, allocations: 3.906 kB / 0.4924 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.504, allocations: 31.98 kB / 0.4924 GB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5041, allocations: 12 kB / 0.4924 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.5049, allocations: 0.544 MB / 0.493 GB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.508, allocations: 1.998 MB / 0.4949 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.5099, allocations: 2.151 MB / 0.497 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.5103, allocations: 250.1 kB / 0.4973 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.5104, allocations: 174.6 kB / 0.4974 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.5105, allocations: 35 kB / 0.4975 GB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.096e-06/0.5105, allocations: 0 / 0.4975 GB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008282/0.5113, allocations: 413.3 kB / 0.4979 GB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.5114, allocations: 71.78 kB / 0.4979 GB, free: 14.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.5115, allocations: 157.5 kB / 0.4981 GB, free: 14.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.5116, allocations: 33.7 kB / 0.4981 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5117, allocations: 224.3 kB / 0.4983 GB, free: 14.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5118, allocations: 161.6 kB / 0.4985 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.5118, allocations: 8 kB / 0.4985 GB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.512, allocations: 338.8 kB / 0.4988 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.5122, allocations: 130.6 kB / 0.4989 GB, free: 13.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.5124, allocations: 222.6 kB / 0.4991 GB, free: 13.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5127, allocations: 165.6 kB / 0.4993 GB, free: 13.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5127, allocations: 0 / 0.4993 GB, free: 13.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008141/0.5135, allocations: 0.4967 MB / 0.4998 GB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5136, allocations: 5.562 kB / 0.4998 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5136, allocations: 4 kB / 0.4998 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.5139, allocations: 77.59 kB / 0.4999 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.5143, allocations: 107.8 kB / 0.5 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.516, allocations: 1.635 MB / 0.5016 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.5163, allocations: 43.58 kB / 0.5016 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.5163, allocations: 20 kB / 0.5016 GB, free: 10.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.5165, allocations: 128.9 kB / 0.5018 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.5165, allocations: 24.84 kB / 0.5018 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/0.5175, allocations: 0.5159 MB / 0.5023 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5175, allocations: 4 kB / 0.5023 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5175, allocations: 4 kB / 0.5023 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5175, allocations: 3.984 kB / 0.5023 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.5191, allocations: 1.132 MB / 0.5034 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5191, allocations: 0 / 0.5034 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.5195, allocations: 83.91 kB / 0.5035 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/0.5197, allocations: 72.81 kB / 0.5035 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.5198, allocations: 20.05 kB / 0.5036 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.5213, allocations: 1.633 MB / 0.5052 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5213, allocations: 0 / 0.5052 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5224, allocations: 0.7747 MB / 0.5059 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.5225, allocations: 108.7 kB / 0.506 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5225, allocations: 11.95 kB / 0.506 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5228, allocations: 23.98 kB / 0.5061 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.5229, allocations: 36.38 kB / 0.5061 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.5229, allocations: 19.98 kB / 0.5061 GB, free: 5.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.523, allocations: 136.8 kB / 0.5062 GB, free: 5.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.523, allocations: 0 / 0.5062 GB, free: 5.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005713/0.5236, allocations: 163.5 kB / 0.5064 GB, free: 5.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001591/0.5252, allocations: 1.515 MB / 0.5079 GB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.5261, allocations: 0.5228 MB / 0.5084 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5261, allocations: 8.188 kB / 0.5084 GB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.5266, allocations: 360.9 kB / 0.5087 GB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5269, allocations: 27.81 kB / 0.5088 GB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.5282, allocations: 0.674 MB / 0.5094 GB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.5285, allocations: 0.8228 MB / 0.5102 GB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000214/0.5288, allocations: 46.95 kB / 0.5103 GB, free: 1.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.529, allocations: 131.4 kB / 0.5104 GB, free: 1.262 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.529, allocations: 0 / 0.5104 GB, free: 1.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.5508, allocations: 7.136 MB / 0.5174 GB, free: 10.39 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.551, allocations: 196.4 kB / 0.5176 GB, free: 10.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.597, allocations: 0 / 0.5176 GB, free: 10.16 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat