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.001231/0.001231, allocations: 95.69 kB / 16.3 MB, free: 6.461 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.001549/0.001549, allocations: 173.9 kB / 17.19 MB, free: 6.348 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.463/1.463, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 8 kB / 300.8 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 50.41 MB / 351.2 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00436/0.1289, allocations: 3.214 MB / 354.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.132, allocations: 1.438 MB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.1326, allocations: 12 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1332, allocations: 131.2 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.1346, allocations: 454.1 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1357, allocations: 438.7 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.1364, allocations: 347.2 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.1378, allocations: 0.7279 MB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.1381, allocations: 183.3 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1384, allocations: 227 kB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.1385, allocations: 20 kB / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.139, allocations: 179.8 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1391, allocations: 87.66 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1392, allocations: 105.5 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.1399, allocations: 0.6001 MB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1399, allocations: 0 / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1399, allocations: 4 kB / 359.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1399, allocations: 0 / 359.4 MB, free: 11.74 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.002251/0.1422, allocations: 0.8855 MB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1422, allocations: 12.03 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.1424, allocations: 115.7 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.1452, allocations: 407 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.1458, allocations: 352.1 kB / 361.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.1458, allocations: 45.31 kB / 361.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1459, allocations: 60 kB / 361.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1473, allocations: 0.6979 MB / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.1473, allocations: 4 kB / 361.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.1474, allocations: 27.95 kB / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.1475, allocations: 25.3 kB / 362 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.1488, allocations: 0.7078 MB / 362.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.1528, allocations: 2.37 MB / 365 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.1546, allocations: 1.204 MB / 366.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1547, allocations: 89.41 kB / 366.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.1548, allocations: 46.48 kB / 366.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 6.162e-06/0.1548, allocations: 7.922 kB / 366.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001964/0.1568, allocations: 0.812 MB / 367.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1569, allocations: 55.41 kB / 367.3 MB, free: 3.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1572, allocations: 270.6 kB / 367.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1573, allocations: 29.7 kB / 367.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.1574, allocations: 248.2 kB / 367.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1576, allocations: 157.8 kB / 367.9 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.1576, allocations: 4 kB / 367.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1578, allocations: 346.8 kB / 368.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.1582, allocations: 193 kB / 368.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.1587, allocations: 302.3 kB / 368.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.1592, allocations: 207.9 kB / 369 MB, free: 1.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.1592, allocations: 4 kB / 369 MB, free: 1.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001311/0.1606, allocations: 0.6102 MB / 369.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2102/0.3708, allocations: 1.305 MB / 370.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.3708, allocations: 3.281 kB / 370.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004071/0.3713, allocations: 55.2 kB / 370.9 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.3718, allocations: 109.2 kB / 371.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.3734, allocations: 1.606 MB / 372.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.3738, allocations: 60.2 kB / 372.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.3739, allocations: 24.48 kB / 372.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3739, allocations: 4.5 kB / 372.7 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/0.3751, allocations: 0.5446 MB / 373.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3751, allocations: 4.281 kB / 373.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.3753, allocations: 49.3 kB / 373.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.3758, allocations: 109.5 kB / 373.4 MB, free: 22.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.377, allocations: 1.522 MB / 375 MB, free: 20.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3773, allocations: 52.81 kB / 375 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.3774, allocations: 26.89 kB / 375 MB, free: 20.91 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.000347/0.3777, allocations: 250.3 kB / 375.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.3778, allocations: 32.62 kB / 375.3 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.3793, allocations: 0.6048 MB / 375.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3793, allocations: 3.875 kB / 375.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3793, allocations: 2.25 kB / 375.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3793, allocations: 1.828 kB / 375.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.3813, allocations: 1.241 MB / 377.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3813, allocations: 0 / 377.2 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.3817, allocations: 89.62 kB / 377.3 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.3819, allocations: 54.34 kB / 377.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3819, allocations: 18.36 kB / 377.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3831, allocations: 1.585 MB / 378.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3831, allocations: 1.5 kB / 378.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3847, allocations: 0.9051 MB / 379.8 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.3849, allocations: 154 kB / 380 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.3849, allocations: 7.078 kB / 380 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.3852, allocations: 24.7 kB / 380 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3853, allocations: 32.45 kB / 380 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3854, allocations: 16.56 kB / 380.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3856, allocations: 194.7 kB / 380.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3856, allocations: 4 kB / 380.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3866, allocations: 246.2 kB / 380.5 MB, free: 17.74 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.001938/0.3886, allocations: 1.472 MB / 382 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.3905, allocations: 1.03 MB / 383 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3905, allocations: 0 / 383 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.3912, allocations: 382.5 kB / 383.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3915, allocations: 42.66 kB / 383.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.3963, allocations: 4.753 MB / 388.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3968, allocations: 0.8356 MB / 389 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001902/0.3987, allocations: 1.088 MB / 390.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.3989, allocations: 168.5 kB / 390.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3989, allocations: 0 / 390.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.4229, allocations: 8.465 MB / 398.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.4233, allocations: 220.3 kB / 398.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.587, allocations: 0 / 398.9 MB, free: 8.094 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