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/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009209/0.0009208, allocations: 93.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001028, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002578/0.0002579, allocations: 4 kB / 306.7 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 51.5 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003843/0.1193, allocations: 2.988 MB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.122, allocations: 1.364 MB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.1222, allocations: 12 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1227, allocations: 123.3 kB / 362.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008831/0.1236, allocations: 342.2 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.1245, allocations: 473.4 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.1249, allocations: 307.4 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.1263, allocations: 0.688 MB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.1266, allocations: 167.3 kB / 364.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.1269, allocations: 219.1 kB / 364.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.1269, allocations: 20 kB / 364.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.1274, allocations: 167.8 kB / 365 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.1274, allocations: 79.67 kB / 365.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.1275, allocations: 97.52 kB / 365.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.1281, allocations: 0.5142 MB / 365.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1281, allocations: 0 / 365.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1281, allocations: 0 / 365.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1282, allocations: 0 / 365.7 MB, free: 6.426 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001979/0.1301, allocations: 0.8309 MB / 366.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1302, allocations: 16.02 kB / 366.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.1304, allocations: 99.73 kB / 366.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.1337, allocations: 0.4911 MB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.1341, allocations: 306.4 kB / 367.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.1341, allocations: 45.31 kB / 367.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.1342, allocations: 55.91 kB / 367.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.1351, allocations: 0.5258 MB / 368.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1352, allocations: 0 / 368.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.1352, allocations: 20 kB / 368.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1353, allocations: 16 kB / 368.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.1362, allocations: 0.5869 MB / 368.7 MB, free: 3.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.1391, allocations: 1.958 MB / 370.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2584/0.3975, allocations: 2.172 MB / 372.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.3978, allocations: 172.3 kB / 373 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3978, allocations: 37 kB / 373 MB, free: 17.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.3978, allocations: 6.859 kB / 373 MB, free: 17.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002202/0.4, allocations: 0.7674 MB / 373.8 MB, free: 16.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.4001, allocations: 56 kB / 373.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4003, allocations: 185.1 kB / 374 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.4003, allocations: 34.58 kB / 374.1 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4005, allocations: 220.7 kB / 374.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.4006, allocations: 163.5 kB / 374.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.4006, allocations: 8.719 kB / 374.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.4007, allocations: 333.6 kB / 374.8 MB, free: 16.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.401, allocations: 165.7 kB / 375 MB, free: 16.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.4015, allocations: 233.2 kB / 375.2 MB, free: 16.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.4019, allocations: 197.4 kB / 375.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4019, allocations: 0 / 375.4 MB, free: 16.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001318/0.4032, allocations: 0.5518 MB / 375.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4032, allocations: 5.531 kB / 375.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4033, allocations: 2.188 kB / 375.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.4037, allocations: 83.48 kB / 376 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.4041, allocations: 98.58 kB / 376.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.4058, allocations: 1.659 MB / 377.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.4061, allocations: 49.58 kB / 377.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.4061, allocations: 20.08 kB / 377.8 MB, free: 14.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (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.0002113/0.4063, allocations: 166.1 kB / 378 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.4064, allocations: 27.55 kB / 378 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.4075, allocations: 0.5624 MB / 378.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4075, allocations: 10.67 kB / 378.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4075, allocations: 1.375 kB / 378.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4076, allocations: 2.812 kB / 378.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4093, allocations: 1.159 MB / 379.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.4093, allocations: 7.781 kB / 379.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4097, allocations: 82.61 kB / 379.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.41, allocations: 75.25 kB / 379.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.41, allocations: 12.47 kB / 379.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.4114, allocations: 1.66 MB / 381.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4115, allocations: 5.734 kB / 381.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.4128, allocations: 0.8093 MB / 382.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.4129, allocations: 118.3 kB / 382.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.4129, allocations: 17.88 kB / 382.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4132, allocations: 18.86 kB / 382.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4133, allocations: 41.73 kB / 382.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.4133, allocations: 14.89 kB / 382.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4135, allocations: 133.8 kB / 382.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4135, allocations: 0 / 382.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006244/0.4141, allocations: 149.3 kB / 382.9 MB, free: 11.37 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (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.00166/0.4158, allocations: 1.393 MB / 384.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4169, allocations: 0.5914 MB / 384.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4169, allocations: 448 / 384.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.4175, allocations: 387.6 kB / 385.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.4178, allocations: 24.42 kB / 385.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.4217, allocations: 3.221 MB / 388.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4221, allocations: 0.8156 MB / 389.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.4223, allocations: 43.75 kB / 389.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.4225, allocations: 135.1 kB / 389.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4225, allocations: 0 / 389.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.4447, allocations: 6.934 MB / 396.4 MB, free: 4.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.4448, allocations: 224.5 kB / 396.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.353, allocations: 1.281 kB / 396.6 MB, free: 4.742 MB / 302.1 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