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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 94.72 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00438/0.1369, allocations: 3.231 MB / 361.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.1398, allocations: 1.485 MB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/0.1404, allocations: 12 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.1409, allocations: 135.2 kB / 363.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009724/0.1419, allocations: 319 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.143, allocations: 0.5451 MB / 363.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.1435, allocations: 351.2 kB / 364.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.1448, allocations: 0.7128 MB / 365 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.1451, allocations: 187.2 kB / 365.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1454, allocations: 227 kB / 365.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.1454, allocations: 24 kB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.1459, allocations: 191.7 kB / 365.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.146, allocations: 87.66 kB / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.1461, allocations: 109.5 kB / 365.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.1468, allocations: 0.5924 MB / 366.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1468, allocations: 0 / 366.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1469, allocations: 0 / 366.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1469, allocations: 4 kB / 366.4 MB, free: 5.543 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.002172/0.149, allocations: 0.8971 MB / 367.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1491, allocations: 8.031 kB / 367.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.1493, allocations: 111.7 kB / 367.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.152, allocations: 407 kB / 367.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.1525, allocations: 359.6 kB / 368.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.1526, allocations: 49.27 kB / 368.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1527, allocations: 60 kB / 368.2 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.1539, allocations: 0.7017 MB / 369 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1539, allocations: 0 / 369 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.154, allocations: 31.94 kB / 369 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.1541, allocations: 29.3 kB / 369 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.1553, allocations: 0.7001 MB / 369.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2651/0.4205, allocations: 2.45 MB / 372.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.422, allocations: 1.203 MB / 373.4 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.4221, allocations: 171.8 kB / 373.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4221, allocations: 38.94 kB / 373.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.4221, allocations: 0 / 373.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001836/0.424, allocations: 0.816 MB / 374.4 MB, free: 16.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.424, allocations: 55.09 kB / 374.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.4244, allocations: 274.7 kB / 374.7 MB, free: 16.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.4244, allocations: 31.36 kB / 374.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.4246, allocations: 248.5 kB / 375 MB, free: 16.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.4247, allocations: 152.7 kB / 375.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.4247, allocations: 8.75 kB / 375.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.4248, allocations: 345.8 kB / 375.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.4253, allocations: 191.7 kB / 375.7 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.4258, allocations: 300.9 kB / 376 MB, free: 15.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.4263, allocations: 210.3 kB / 376.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4263, allocations: 1.938 kB / 376.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001154/0.4275, allocations: 0.6099 MB / 376.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.4277, allocations: 1.315 MB / 378.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4277, allocations: 2.75 kB / 378.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.428, allocations: 55.19 kB / 378.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.4284, allocations: 111.8 kB / 378.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.4297, allocations: 1.59 MB / 379.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.4301, allocations: 67.75 kB / 379.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.4301, allocations: 21.91 kB / 379.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4301, allocations: 4.594 kB / 379.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/0.4312, allocations: 0.5434 MB / 380.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4312, allocations: 2.969 kB / 380.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.4314, allocations: 56.3 kB / 380.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.4318, allocations: 114 kB / 380.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4329, allocations: 1.515 MB / 382.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.4332, allocations: 51.25 kB / 382.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.4333, allocations: 23.39 kB / 382.2 MB, free: 11.12 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.0002969/0.4336, allocations: 256.3 kB / 382.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.4337, allocations: 31.95 kB / 382.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.4349, allocations: 0.5966 MB / 383.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.435, allocations: 4.188 kB / 383.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.435, allocations: 1.469 kB / 383.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.435, allocations: 2.859 kB / 383.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.4368, allocations: 1.247 MB / 384.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4368, allocations: 0.9844 kB / 384.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.4372, allocations: 91.16 kB / 384.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.4374, allocations: 50.02 kB / 384.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.4374, allocations: 14.77 kB / 384.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.4385, allocations: 1.595 MB / 386.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4386, allocations: 0.6562 kB / 386.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.44, allocations: 0.9007 MB / 387 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4401, allocations: 140.5 kB / 387.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.4402, allocations: 11.12 kB / 387.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4404, allocations: 23.34 kB / 387.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.196e-05/0.4405, allocations: 36.66 kB / 387.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.4406, allocations: 16.28 kB / 387.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4408, allocations: 199.5 kB / 387.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4408, allocations: 1.719 kB / 387.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009475/0.4417, allocations: 249.7 kB / 387.7 MB, free: 7.512 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.001816/0.4436, allocations: 1.469 MB / 389.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.4454, allocations: 1.03 MB / 390.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4455, allocations: 0 / 390.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.4461, allocations: 385.2 kB / 390.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4464, allocations: 40.42 kB / 390.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.4508, allocations: 4.752 MB / 395.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.4512, allocations: 0.8381 MB / 396.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001788/0.453, allocations: 1.084 MB / 397.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.4533, allocations: 168.7 kB / 397.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4533, allocations: 0.9688 kB / 397.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.477, allocations: 8.476 MB / 405.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.4773, allocations: 220.7 kB / 406.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.418, allocations: 3.938 kB / 406.1 MB, free: 13.34 MB / 318.1 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