Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009266/0.0009267, allocations: 102 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.438e-05/2.431e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 51.48 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4934, allocations: 82.96 MB / 478.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4937, allocations: 75.38 kB / 478.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03462/0.5283, allocations: 16.01 MB / 494.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5284, allocations: 0 / 494.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.5284, allocations: 8 kB / 494.3 MB, free: 13.4 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.001618/0.53, allocations: 0.749 MB / 495.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5301, allocations: 8.031 kB / 495.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.5324, allocations: 366.9 kB / 495.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.5328, allocations: 300.1 kB / 495.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.5329, allocations: 16.86 kB / 495.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.533, allocations: 32 kB / 495.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008556/0.5338, allocations: 0.499 MB / 496.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.5345, allocations: 400.4 kB / 496.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5346, allocations: 0 / 496.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.5346, allocations: 0 / 496.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.5346, allocations: 15.98 kB / 496.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.5375, allocations: 1.854 MB / 498.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.5396, allocations: 2.153 MB / 0.4889 GB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.5398, allocations: 179.2 kB / 0.4891 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.54, allocations: 174.6 kB / 0.4893 GB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.54, allocations: 38.88 kB / 0.4893 GB, free: 7.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.084e-06/0.54, allocations: 0 / 0.4893 GB, free: 7.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001521/0.5416, allocations: 0.519 MB / 0.4898 GB, free: 6.723 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5416, allocations: 55.84 kB / 0.4899 GB, free: 6.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.5418, allocations: 145.3 kB / 0.49 GB, free: 6.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.5418, allocations: 25.7 kB / 0.49 GB, free: 6.496 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.542, allocations: 223.4 kB / 0.4903 GB, free: 6.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.5421, allocations: 152.9 kB / 0.4904 GB, free: 6.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5421, allocations: 4 kB / 0.4904 GB, free: 6.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5423, allocations: 334.4 kB / 0.4907 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.5425, allocations: 126 kB / 0.4908 GB, free: 5.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.5427, allocations: 190.4 kB / 0.491 GB, free: 5.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.5437, allocations: 307.7 kB / 0.4913 GB, free: 5.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5437, allocations: 4 kB / 0.4913 GB, free: 5.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001467/0.5452, allocations: 0.5981 MB / 0.4919 GB, free: 4.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5452, allocations: 5.719 kB / 0.4919 GB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5452, allocations: 4 kB / 0.4919 GB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.5456, allocations: 82.47 kB / 0.492 GB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.546, allocations: 103.2 kB / 0.4921 GB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.5478, allocations: 1.768 MB / 0.4938 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.5481, allocations: 35.58 kB / 0.4939 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5481, allocations: 17.78 kB / 0.4939 GB, free: 2.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.5482, allocations: 116.9 kB / 0.494 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001325/0.5496, allocations: 0.516 MB / 0.4945 GB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.5496, allocations: 27.67 kB / 0.4945 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.5512, allocations: 0.589 MB / 0.4951 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5512, allocations: 11.94 kB / 0.4951 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5512, allocations: 4 kB / 0.4951 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5512, allocations: 0 / 0.4951 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.5533, allocations: 1.097 MB / 0.4962 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5533, allocations: 0 / 0.4962 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.5537, allocations: 79.91 kB / 0.4963 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.5539, allocations: 76.81 kB / 0.4963 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.554, allocations: 11.98 kB / 0.4963 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.5558, allocations: 1.766 MB / 0.4981 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5558, allocations: 3.953 kB / 0.4981 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.5575, allocations: 0.8194 MB / 0.4989 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.5576, allocations: 108.7 kB / 0.499 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.5576, allocations: 7.984 kB / 0.499 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.5578, allocations: 8 kB / 0.499 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.5579, allocations: 40.36 kB / 0.499 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.558, allocations: 16 kB / 0.499 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5581, allocations: 120 kB / 0.4992 GB, free: 13.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5581, allocations: 3.938 kB / 0.4992 GB, free: 13.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.5587, allocations: 151.5 kB / 0.4993 GB, free: 13.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002128/0.5609, allocations: 1.407 MB / 0.5007 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.5618, allocations: 0.493 MB / 0.5012 GB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5618, allocations: 0 / 0.5012 GB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.5623, allocations: 343.6 kB / 0.5015 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.5625, allocations: 18.91 kB / 0.5015 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5639, allocations: 0.6124 MB / 0.5021 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5643, allocations: 0.8127 MB / 0.5029 GB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.5645, allocations: 47.27 kB / 0.5029 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.5647, allocations: 131.4 kB / 0.5031 GB, free: 9.23 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5647, allocations: 4 kB / 0.5031 GB, free: 9.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.593, allocations: 6.115 MB / 0.509 GB, free: 3.168 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.5933, allocations: 166.9 kB / 0.5092 GB, free: 2.973 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.483, allocations: 2.188 kB / 0.5092 GB, free: 2.973 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat