Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_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.001126/0.001126, allocations: 95.38 kB / 16.94 MB, free: 6.441 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.001041/0.001041, allocations: 187.5 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 8 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09591, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.003868/0.09983, allocations: 3.329 MB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1026, allocations: 1.509 MB / 333.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.1028, allocations: 12 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1032, allocations: 139.1 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1043, allocations: 0.4946 MB / 333.9 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.1053, allocations: 438.8 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.1058, allocations: 399.2 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.107, allocations: 0.7051 MB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002784/0.1073, allocations: 203.2 kB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.1076, allocations: 258.9 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1077, allocations: 24 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.1081, allocations: 187.8 kB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.492e-05/0.1082, allocations: 99.64 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.1082, allocations: 117.4 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.1089, allocations: 0.6391 MB / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1089, allocations: 0 / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1089, allocations: 0 / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1089, allocations: 0 / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002117/0.111, allocations: 0.9211 MB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1111, allocations: 8.031 kB / 337.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.1113, allocations: 120.5 kB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.1153, allocations: 0.6119 MB / 338.6 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.1159, allocations: 380 kB / 339 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.1159, allocations: 50 kB / 339 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/0.116, allocations: 68 kB / 339.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1173, allocations: 0.8094 MB / 339.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.1173, allocations: 3.906 kB / 339.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.1174, allocations: 31.94 kB / 339.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.1175, allocations: 26 kB / 340 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.1188, allocations: 0.8472 MB / 340.8 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.1226, allocations: 2.747 MB / 343.5 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.1245, allocations: 1.968 MB / 345.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.1246, allocations: 89.55 kB / 345.6 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1246, allocations: 46.95 kB / 345.6 MB, free: 2.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.604e-06/0.1246, allocations: 0 / 345.6 MB, free: 2.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.001778/0.1264, allocations: 0.8406 MB / 346.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.1265, allocations: 55.84 kB / 346.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1268, allocations: 316.3 kB / 346.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.1268, allocations: 29.7 kB / 346.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.127, allocations: 292 kB / 347.2 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1271, allocations: 165.5 kB / 347.3 MB, free: 328 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1272, allocations: 16 kB / 347.3 MB, free: 312 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1273, allocations: 350.8 kB / 347.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.1277, allocations: 209.2 kB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.1282, allocations: 390.3 kB / 348.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.1287, allocations: 247.7 kB / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.1287, allocations: 4 kB / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001189/0.1299, allocations: 0.7006 MB / 349.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008321/0.1307, allocations: 2.354 MB / 351.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1307, allocations: 7.984 kB / 351.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.131, allocations: 60.83 kB / 351.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.1315, allocations: 139.8 kB / 351.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1329, allocations: 1.604 MB / 353.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.1333, allocations: 79.33 kB / 353.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.1333, allocations: 32 kB / 353.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.1334, allocations: 4 kB / 353.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/0.1344, allocations: 0.6523 MB / 354.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1345, allocations: 8 kB / 354.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.1346, allocations: 53.52 kB / 354.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.1351, allocations: 143.7 kB / 354.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1363, allocations: 1.523 MB / 355.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1366, allocations: 59.47 kB / 355.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.1366, allocations: 31.98 kB / 356 MB, free: 7.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (69): * Single equations (assignments): 68 * 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.0003066/0.1369, allocations: 272.9 kB / 356.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.137, allocations: 39.53 kB / 356.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1382, allocations: 0.6142 MB / 356.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1382, allocations: 4 kB / 356.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1383, allocations: 7.953 kB / 356.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1383, allocations: 4.359 kB / 356.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1402, allocations: 1.308 MB / 358.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1402, allocations: 7.984 kB / 358.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.1406, allocations: 87.89 kB / 358.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.1408, allocations: 52.83 kB / 358.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.1408, allocations: 15.98 kB / 358.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.1421, allocations: 1.592 MB / 360 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1421, allocations: 0 / 360 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.1436, allocations: 0.9287 MB / 360.9 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.1438, allocations: 148.7 kB / 361 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.1439, allocations: 12 kB / 361 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.1441, allocations: 28.03 kB / 361.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.1443, allocations: 44.44 kB / 361.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1443, allocations: 20 kB / 361.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1445, allocations: 215 kB / 361.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 361.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1456, allocations: 275.1 kB / 361.6 MB, free: 1.207 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 (46): * Single equations (assignments): 45 * 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.001854/0.1474, allocations: 1.501 MB / 363.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.1493, allocations: 1.124 MB / 364.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1493, allocations: 0 / 364.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.1499, allocations: 397 kB / 364.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1503, allocations: 36.77 kB / 364.7 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.1559, allocations: 6.856 MB / 371.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1564, allocations: 0.8486 MB / 372.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001353/0.1577, allocations: 1.095 MB / 373.5 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.158, allocations: 191.3 kB / 373.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.158, allocations: 0 / 373.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/0.347, allocations: 9.148 MB / 382.8 MB, free: 51.25 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.3473, allocations: 217.9 kB / 383 MB, free: 51.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.297, allocations: 0 / 383 MB, free: 51.02 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat does not exist to compare? outputFormat=mat