Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 88.92 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001124, allocations: 182.9 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 241.2 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002738, allocations: 8.906 kB / 300.9 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 50.41 MB / 351.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004075/0.1187, allocations: 3.358 MB / 354.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.1218, allocations: 1.426 MB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.1222, allocations: 12 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.1227, allocations: 131.3 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.124, allocations: 430.2 kB / 356.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1251, allocations: 453.2 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.1258, allocations: 486 kB / 357.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.1273, allocations: 0.7206 MB / 358.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.1278, allocations: 187.2 kB / 358.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.1281, allocations: 239 kB / 358.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1281, allocations: 20 kB / 358.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.1287, allocations: 203.8 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.1288, allocations: 87.61 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.1289, allocations: 109.5 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.1296, allocations: 0.5962 MB / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1296, allocations: 0 / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1296, allocations: 0 / 359.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1296, allocations: 0 / 359.7 MB, free: 11.44 MB / 302.1 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.002211/0.1318, allocations: 0.8894 MB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1319, allocations: 12.03 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.1321, allocations: 115.7 kB / 360.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.1346, allocations: 407 kB / 361.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.1352, allocations: 352 kB / 361.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.1352, allocations: 45.31 kB / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.1353, allocations: 64 kB / 361.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1366, allocations: 0.7057 MB / 362.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1366, allocations: 0 / 362.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.1367, allocations: 27.95 kB / 362.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.1368, allocations: 25.31 kB / 362.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.138, allocations: 0.7078 MB / 363.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.1415, allocations: 2.374 MB / 365.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.143, allocations: 1.191 MB / 366.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/0.1435, allocations: 248.3 kB / 366.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1436, allocations: 89.41 kB / 367 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1437, allocations: 34.56 kB / 367 MB, free: 3.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.126e-06/0.1437, allocations: 0 / 367 MB, free: 3.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001795/0.1455, allocations: 0.8151 MB / 367.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1455, allocations: 55.41 kB / 367.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.1459, allocations: 274.6 kB / 368.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1459, allocations: 29.7 kB / 368.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.1461, allocations: 252.2 kB / 368.4 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.1462, allocations: 149.8 kB / 368.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.1463, allocations: 8 kB / 368.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1465, allocations: 346.8 kB / 368.9 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1469, allocations: 189 kB / 369.1 MB, free: 1.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.1474, allocations: 314.3 kB / 369.4 MB, free: 1.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.1479, allocations: 208 kB / 369.6 MB, free: 1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1479, allocations: 0 / 369.6 MB, free: 1 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001249/0.1492, allocations: 0.6141 MB / 370.2 MB, free: 384 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.1493, allocations: 189.4 kB / 370.4 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1493, allocations: 4 kB / 370.4 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.1495, allocations: 60.77 kB / 370.5 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2378/0.3874, allocations: 105.4 kB / 370.6 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.3892, allocations: 1.586 MB / 372.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.3897, allocations: 57.52 kB / 372.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.3898, allocations: 24.55 kB / 372.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3898, allocations: 5.062 kB / 372.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/0.3912, allocations: 0.5492 MB / 372.8 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3912, allocations: 3.984 kB / 372.8 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.3914, allocations: 53.66 kB / 372.8 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.3919, allocations: 104.8 kB / 372.9 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3933, allocations: 1.501 MB / 374.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.3937, allocations: 59.3 kB / 374.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.3937, allocations: 27.69 kB / 374.5 MB, free: 21.25 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004401/0.3942, allocations: 250.7 kB / 374.8 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.3943, allocations: 30.84 kB / 374.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3959, allocations: 0.6019 MB / 375.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3959, allocations: 6.031 kB / 375.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.396, allocations: 0.75 kB / 375.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.396, allocations: 3.266 kB / 375.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.3984, allocations: 1.245 MB / 376.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3984, allocations: 0 / 376.7 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.3989, allocations: 85.89 kB / 376.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.3991, allocations: 56.2 kB / 376.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.3991, allocations: 16.72 kB / 376.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.4004, allocations: 1.576 MB / 378.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4005, allocations: 1.5 kB / 378.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.4022, allocations: 0.906 MB / 379.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.4024, allocations: 145.1 kB / 379.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.4025, allocations: 10.75 kB / 379.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4027, allocations: 23.03 kB / 379.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4028, allocations: 42.23 kB / 379.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.4029, allocations: 15.78 kB / 379.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.4031, allocations: 192.6 kB / 379.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4031, allocations: 3.844 kB / 379.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00115/0.4043, allocations: 248.1 kB / 380 MB, free: 18.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002023/0.4063, allocations: 1.467 MB / 381.4 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.4085, allocations: 1.023 MB / 382.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4085, allocations: 1.094 kB / 382.5 MB, free: 16.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.4091, allocations: 394.9 kB / 382.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.4096, allocations: 42.53 kB / 382.9 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.4142, allocations: 2.656 MB / 385.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.4146, allocations: 0.8274 MB / 386.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.002076/0.4167, allocations: 1.077 MB / 387.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.417, allocations: 169.5 kB / 387.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.417, allocations: 0 / 387.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4396, allocations: 8.483 MB / 396.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.4398, allocations: 218 kB / 396.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.511, allocations: 2.969 kB / 396.3 MB, free: 10.64 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat