Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.107/1.107, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008272/0.0008272, allocations: 89.58 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08775/0.0886, allocations: 56.91 MB / 343.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.1669, allocations: 51.47 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.3774, allocations: 84.49 MB / 479.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3776, allocations: 77.33 kB / 479.3 MB, free: 8.633 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.03742/0.415, allocations: 17.41 MB / 496.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.4151, allocations: 8 kB / 496.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.4173, allocations: 334.7 kB / 497 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.4178, allocations: 337.9 kB / 497.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.4178, allocations: 19.91 kB / 497.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.4179, allocations: 36 kB / 497.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008868/0.4188, allocations: 0.507 MB / 497.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.4197, allocations: 0.5206 MB / 498.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4197, allocations: 3.938 kB / 498.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.4198, allocations: 0 / 498.4 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4198, allocations: 17.12 kB / 498.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.423, allocations: 2.207 MB / 0.4889 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.4237, allocations: 402.2 kB / 0.4893 GB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.424, allocations: 174.3 kB / 0.4895 GB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.4241, allocations: 180.5 kB / 0.4896 GB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4241, allocations: 38.38 kB / 0.4897 GB, free: 6.793 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.833e-06/0.4242, allocations: 4 kB / 0.4897 GB, free: 6.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009963/0.4252, allocations: 433.7 kB / 0.4901 GB, free: 6.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.4252, allocations: 81.48 kB / 0.4902 GB, free: 6.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.4254, allocations: 163.2 kB / 0.4903 GB, free: 6.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4254, allocations: 25.7 kB / 0.4904 GB, free: 6.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4255, allocations: 243.6 kB / 0.4906 GB, free: 5.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4256, allocations: 160.7 kB / 0.4907 GB, free: 5.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.4257, allocations: 4 kB / 0.4908 GB, free: 5.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4258, allocations: 332.9 kB / 0.4911 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.426, allocations: 140.9 kB / 0.4912 GB, free: 5.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.4263, allocations: 261.9 kB / 0.4915 GB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.4267, allocations: 192.1 kB / 0.4916 GB, free: 5.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4267, allocations: 4 kB / 0.4916 GB, free: 5.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001052/0.4278, allocations: 0.5133 MB / 0.4921 GB, free: 4.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005082/0.4283, allocations: 1.3 MB / 0.4934 GB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4283, allocations: 11.89 kB / 0.4934 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.4286, allocations: 49.78 kB / 0.4935 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.429, allocations: 112.3 kB / 0.4936 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.4305, allocations: 1.508 MB / 0.495 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.4309, allocations: 51.58 kB / 0.4951 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.431, allocations: 22.59 kB / 0.4951 GB, free: 1.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.431, allocations: 5.875 kB / 0.4951 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009392/0.4319, allocations: 452.9 kB / 0.4956 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.432, allocations: 6.812 kB / 0.4956 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.4321, allocations: 53.38 kB / 0.4956 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.4325, allocations: 99.5 kB / 0.4957 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4337, allocations: 1.436 MB / 0.4971 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.434, allocations: 35.62 kB / 0.4971 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.4341, allocations: 24.05 kB / 0.4972 GB, free: 15.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.4343, allocations: 113.8 kB / 0.4973 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.4344, allocations: 35.61 kB / 0.4973 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.4356, allocations: 0.5189 MB / 0.4978 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008121/0.4364, allocations: 428.4 kB / 0.4982 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4364, allocations: 0 / 0.4982 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.4364, allocations: 3.984 kB / 0.4982 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.4381, allocations: 1.076 MB / 0.4993 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4381, allocations: 0 / 0.4993 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4385, allocations: 91.89 kB / 0.4994 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.4387, allocations: 48.77 kB / 0.4994 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.4387, allocations: 11.94 kB / 0.4994 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.4399, allocations: 1.501 MB / 0.5009 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.44, allocations: 0 / 0.5009 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001231/0.4412, allocations: 0.7761 MB / 0.5017 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00218/0.4434, allocations: 1.801 MB / 0.5034 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.4436, allocations: 148.8 kB / 0.5036 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.4436, allocations: 4 kB / 0.5036 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.4439, allocations: 23.97 kB / 0.5036 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.444, allocations: 29.7 kB / 0.5036 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.4441, allocations: 12 kB / 0.5036 GB, free: 8.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001084/0.4442, allocations: 136.3 kB / 0.5037 GB, free: 8.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002044/0.4462, allocations: 274.8 kB / 0.504 GB, free: 8.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002895/0.4465, allocations: 159 kB / 0.5042 GB, free: 8.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4479, allocations: 0.8982 MB / 0.505 GB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4479, allocations: 0 / 0.505 GB, free: 7.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.4484, allocations: 332 kB / 0.5054 GB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4487, allocations: 21.39 kB / 0.5054 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4499, allocations: 0.6266 MB / 0.506 GB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.4504, allocations: 0.8866 MB / 0.5069 GB, free: 5.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4504, allocations: 0 / 0.5069 GB, free: 5.25 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat