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"}) [: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.001073/0.001073, allocations: 204.5 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.126/1.126, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008267/0.0008267, allocations: 96.06 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08731/0.08816, allocations: 56.91 MB / 343.2 MB, free: 8.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07656/0.1647, allocations: 51.47 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.3651, allocations: 82.88 MB / 477.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.3653, allocations: 77.05 kB / 477.7 MB, free: 9.988 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.03375/0.3991, allocations: 16.51 MB / 494.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3991, allocations: 12 kB / 494.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.4017, allocations: 387.1 kB / 494.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4021, allocations: 307.6 kB / 494.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4021, allocations: 20 kB / 494.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.4022, allocations: 28 kB / 494.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008277/0.4031, allocations: 0.5133 MB / 495.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.4037, allocations: 410.6 kB / 495.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4038, allocations: 2.344 kB / 495.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.4038, allocations: 0 / 495.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4038, allocations: 16 kB / 495.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.4067, allocations: 1.901 MB / 497.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.4074, allocations: 395.4 kB / 498.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.4077, allocations: 219.8 kB / 498.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.4079, allocations: 170.6 kB / 498.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4079, allocations: 42.67 kB / 498.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/0.4079, allocations: 0 / 498.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009435/0.4088, allocations: 427 kB / 499 MB, free: 9.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.4089, allocations: 59.09 kB / 499 MB, free: 9.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.409, allocations: 147.4 kB / 499.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4091, allocations: 29.64 kB / 499.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.4091, allocations: 213.6 kB / 499.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.276e-05/0.4092, allocations: 155 kB / 499.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.4093, allocations: 0 / 499.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4094, allocations: 337.2 kB / 499.9 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.4096, allocations: 134.9 kB / 0.4883 GB, free: 8.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.4098, allocations: 214.5 kB / 0.4885 GB, free: 7.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.4103, allocations: 179.6 kB / 0.4887 GB, free: 7.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4103, allocations: 0 / 0.4887 GB, free: 7.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009619/0.4112, allocations: 0.494 MB / 0.4892 GB, free: 7.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4113, allocations: 8 kB / 0.4892 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4113, allocations: 0 / 0.4892 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.4116, allocations: 80.22 kB / 0.4892 GB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.412, allocations: 107.1 kB / 0.4894 GB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.4135, allocations: 1.543 MB / 0.4909 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.4138, allocations: 43.45 kB / 0.4909 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.4138, allocations: 27.56 kB / 0.4909 GB, free: 5.746 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.0001033/0.4139, allocations: 112.8 kB / 0.491 GB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.414, allocations: 19.72 kB / 0.4911 GB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4151, allocations: 0.5056 MB / 0.4915 GB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4151, allocations: 7.938 kB / 0.4916 GB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4151, allocations: 4 kB / 0.4916 GB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4151, allocations: 3.984 kB / 0.4916 GB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.4167, allocations: 1.09 MB / 0.4926 GB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4167, allocations: 3.906 kB / 0.4926 GB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.4171, allocations: 79.03 kB / 0.4927 GB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.4174, allocations: 76.47 kB / 0.4928 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.4174, allocations: 7.25 kB / 0.4928 GB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4188, allocations: 1.53 MB / 0.4943 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4188, allocations: 3.938 kB / 0.4943 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/0.42, allocations: 0.7744 MB / 0.495 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002033/0.422, allocations: 1.765 MB / 0.4968 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4221, allocations: 116.6 kB / 0.4969 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4221, allocations: 0 / 0.4969 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.4224, allocations: 24.02 kB / 0.4969 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.4225, allocations: 28.39 kB / 0.4969 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.4225, allocations: 8 kB / 0.4969 GB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.147e-05/0.4226, allocations: 124.1 kB / 0.4971 GB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00102/0.4236, allocations: 151.5 kB / 0.4972 GB, free: 15.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.0002259/0.4239, allocations: 163 kB / 0.4974 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007492/0.4246, allocations: 0.4922 MB / 0.4978 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4246, allocations: 0 / 0.4978 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.4251, allocations: 341.8 kB / 0.4982 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4253, allocations: 15.94 kB / 0.4982 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4263, allocations: 0.558 MB / 0.4987 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.4268, allocations: 0.8579 MB / 0.4996 GB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4268, allocations: 0 / 0.4996 GB, free: 12.98 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