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.001466/0.001466, allocations: 195.8 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.68/1.68, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, allocations: 97.06 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.851e-05, allocations: 4 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1436, allocations: 51.47 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5912, allocations: 82.96 MB / 478.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.5915, allocations: 77.64 kB / 478.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04517/0.6367, allocations: 16.09 MB / 494.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6367, allocations: 0 / 494.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.6367, allocations: 8 kB / 494.4 MB, free: 13.06 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.002663/0.6394, allocations: 0.7531 MB / 495.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6395, allocations: 8.031 kB / 495.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.644, allocations: 364.4 kB / 495.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.6447, allocations: 311.4 kB / 495.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.6448, allocations: 16.86 kB / 495.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.6449, allocations: 32 kB / 495.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001486/0.6464, allocations: 0.5202 MB / 496.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6477, allocations: 411 kB / 496.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.6477, allocations: 0 / 496.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.6478, allocations: 0 / 496.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.6478, allocations: 16 kB / 496.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004781/0.6526, allocations: 1.886 MB / 498.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.6555, allocations: 2.135 MB / 0.4891 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.6561, allocations: 222.8 kB / 0.4893 GB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.6564, allocations: 170.6 kB / 0.4895 GB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.6564, allocations: 42.89 kB / 0.4895 GB, free: 6.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.787e-06/0.6564, allocations: 0 / 0.4895 GB, free: 6.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.002485/0.6589, allocations: 0.5071 MB / 0.49 GB, free: 6.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.659, allocations: 63.73 kB / 0.4901 GB, free: 6.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.6592, allocations: 151.1 kB / 0.4902 GB, free: 6.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.6593, allocations: 25.7 kB / 0.4902 GB, free: 6.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6595, allocations: 218.2 kB / 0.4904 GB, free: 5.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.6597, allocations: 152.3 kB / 0.4906 GB, free: 5.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6597, allocations: 1.969 kB / 0.4906 GB, free: 5.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.6599, allocations: 336.3 kB / 0.4909 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.6602, allocations: 124.5 kB / 0.491 GB, free: 5.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.6607, allocations: 204.1 kB / 0.4912 GB, free: 5.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.6624, allocations: 308.7 kB / 0.4915 GB, free: 4.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6624, allocations: 0 / 0.4915 GB, free: 4.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002646/0.6651, allocations: 0.5981 MB / 0.4921 GB, free: 4.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.6652, allocations: 8 kB / 0.4921 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6652, allocations: 0 / 0.4921 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/0.6657, allocations: 80.98 kB / 0.4922 GB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.6663, allocations: 103.5 kB / 0.4923 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/0.6688, allocations: 1.567 MB / 0.4938 GB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.6693, allocations: 34.97 kB / 0.4938 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.6693, allocations: 23.11 kB / 0.4939 GB, free: 2.789 MB / 362.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.000175/0.6695, allocations: 109.9 kB / 0.494 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002392/0.6719, allocations: 0.5167 MB / 0.4945 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6721, allocations: 23.16 kB / 0.4945 GB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/0.6748, allocations: 0.5959 MB / 0.4951 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6748, allocations: 5.688 kB / 0.4951 GB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6748, allocations: 4 kB / 0.4951 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6748, allocations: 0 / 0.4951 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.6784, allocations: 1.148 MB / 0.4962 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6784, allocations: 4 kB / 0.4962 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005621/0.679, allocations: 83.89 kB / 0.4963 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.6794, allocations: 79.59 kB / 0.4964 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.6795, allocations: 8 kB / 0.4964 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.6819, allocations: 1.561 MB / 0.4979 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6819, allocations: 0 / 0.4979 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.6848, allocations: 0.8565 MB / 0.4987 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.685, allocations: 116.7 kB / 0.4988 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.6851, allocations: 0 / 0.4988 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.6855, allocations: 16.05 kB / 0.4989 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6856, allocations: 36.39 kB / 0.4989 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.6857, allocations: 12 kB / 0.4989 GB, free: 13.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.6858, allocations: 126.8 kB / 0.499 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6858, allocations: 0 / 0.499 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009697/0.6868, allocations: 147.5 kB / 0.4992 GB, free: 13.26 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.003549/0.6904, allocations: 1.59 MB / 0.5007 GB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.6917, allocations: 0.493 MB / 0.5012 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6918, allocations: 4 kB / 0.5012 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007607/0.6925, allocations: 335.2 kB / 0.5015 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.693, allocations: 12.69 kB / 0.5015 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.6952, allocations: 0.6384 MB / 0.5022 GB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.6958, allocations: 0.8166 MB / 0.503 GB, free: 9.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003805/0.6962, allocations: 47.27 kB / 0.503 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.6965, allocations: 127.4 kB / 0.5031 GB, free: 9.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6965, allocations: 0 / 0.5031 GB, free: 9.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.7329, allocations: 6.135 MB / 0.5091 GB, free: 3.016 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/0.7333, allocations: 166.8 kB / 0.5093 GB, free: 2.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.793, allocations: 0 / 0.5093 GB, free: 2.82 MB / 378.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