Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 50.56 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006381/0.2811, allocations: 5.075 MB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2844, allocations: 1.838 MB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.2848, allocations: 19.94 kB / 415.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.2875, allocations: 1.178 MB / 416.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.2893, allocations: 0.6252 MB / 417.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2907, allocations: 0.6043 MB / 418.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.2917, allocations: 0.7583 MB / 418.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008988/0.2927, allocations: 0.5618 MB / 419.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.2931, allocations: 334.6 kB / 419.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.2936, allocations: 434.3 kB / 420.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-05/0.2937, allocations: 60 kB / 420.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.2943, allocations: 255.8 kB / 420.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2945, allocations: 167.4 kB / 420.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.2949, allocations: 378.1 kB / 421.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.2962, allocations: 1.027 MB / 422.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2962, allocations: 0 / 422.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2963, allocations: 4 kB / 422.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2963, allocations: 0 / 422.1 MB, free: 4.109 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00392/0.3002, allocations: 1.399 MB / 423.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3003, allocations: 12.03 kB / 423.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.3004, allocations: 131.1 kB / 423.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/0.3062, allocations: 0.7848 MB / 424.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.3071, allocations: 411.2 kB / 424.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.3072, allocations: 58.38 kB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3073, allocations: 83.94 kB / 425 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3088, allocations: 0.7687 MB / 425.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3089, allocations: 11.89 kB / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.309, allocations: 28 kB / 425.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.309, allocations: 20 kB / 425.8 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.3107, allocations: 0.9097 MB / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.315, allocations: 2.76 MB / 429.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.3176, allocations: 2.193 MB / 431.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.3182, allocations: 343.2 kB / 432 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.3184, allocations: 186.8 kB / 432.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.3184, allocations: 47.16 kB / 432.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.275e-06/0.3184, allocations: 3.938 kB / 432.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00371/0.3222, allocations: 1.339 MB / 433.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3222, allocations: 60.06 kB / 433.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.3226, allocations: 298.9 kB / 433.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.3227, allocations: 37.7 kB / 434 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.3229, allocations: 296.7 kB / 434.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.3232, allocations: 269.7 kB / 434.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3234, allocations: 122.6 kB / 434.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3235, allocations: 358.7 kB / 435 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.324, allocations: 233.9 kB / 435.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.3246, allocations: 362.5 kB / 435.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.3257, allocations: 0.6259 MB / 436.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.3258, allocations: 0 / 436.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001948/0.3277, allocations: 0.8725 MB / 437.1 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3278, allocations: 10.97 kB / 437.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3278, allocations: 7.984 kB / 437.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008206/0.3286, allocations: 204.7 kB / 437.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.3292, allocations: 131.8 kB / 437.4 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.3328, allocations: 2.712 MB / 440.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.3333, allocations: 79.44 kB / 440.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.3333, allocations: 28 kB / 440.2 MB, free: 1.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003257/0.3337, allocations: 201.7 kB / 440.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3338, allocations: 43.72 kB / 440.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3357, allocations: 0.9015 MB / 441.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3357, allocations: 11.94 kB / 441.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3358, allocations: 4 kB / 441.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3358, allocations: 3.984 kB / 441.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.3386, allocations: 1.703 MB / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3386, allocations: 0 / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.339, allocations: 111.9 kB / 443.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.3397, allocations: 203.4 kB / 443.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.3398, allocations: 16 kB / 443.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.3433, allocations: 2.705 MB / 446.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3433, allocations: 4 kB / 446.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.3457, allocations: 1.269 MB / 447.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.3458, allocations: 128.7 kB / 447.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.3459, allocations: 12 kB / 447.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.3463, allocations: 31.92 kB / 447.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3464, allocations: 60.64 kB / 447.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.3465, allocations: 19.98 kB / 447.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.3467, allocations: 210 kB / 447.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3467, allocations: 0 / 447.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.3475, allocations: 243.5 kB / 448.1 MB, free: 8.938 MB / 366.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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/0.3503, allocations: 1.84 MB / 449.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3519, allocations: 0.8631 MB / 450.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.352, allocations: 0.8125 kB / 450.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.3529, allocations: 0.549 MB / 451.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3534, allocations: 64.75 kB / 451.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.3612, allocations: 5.1 MB / 456.5 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.3618, allocations: 0.8891 MB / 457.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.3621, allocations: 76.52 kB / 457.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.3624, allocations: 227.3 kB / 457.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3624, allocations: 0 / 457.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05191/0.4143, allocations: 12.23 MB / 469.9 MB, free: 3.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.19, allocations: 11.78 kB / 469.9 MB, free: 3.023 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1)