Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_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.001691/0.001691, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 227.7 MB / 247 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 55.78 kB / 307.3 MB, free: 428 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1146, allocations: 50.55 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007561/0.1222, allocations: 5.079 MB / 363 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1258, allocations: 1.842 MB / 364.8 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.1262, allocations: 20 kB / 364.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.1289, allocations: 1.175 MB / 366 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.1305, allocations: 0.6095 MB / 366.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1318, allocations: 0.6101 MB / 367.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000987/0.1328, allocations: 0.7582 MB / 368 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009234/0.1337, allocations: 0.5747 MB / 368.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.1342, allocations: 326.7 kB / 368.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.1347, allocations: 426.3 kB / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.1348, allocations: 60 kB / 369.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006638/0.1355, allocations: 263.8 kB / 369.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1356, allocations: 163.4 kB / 369.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.136, allocations: 378.1 kB / 370.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1373, allocations: 1.012 MB / 371.1 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1373, allocations: 4 kB / 371.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1373, allocations: 0 / 371.1 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1374, allocations: 0 / 371.1 MB, free: 0.5312 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.1767/0.3141, allocations: 1.385 MB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3141, allocations: 9.344 kB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3143, allocations: 124.5 kB / 372.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006056/0.3203, allocations: 0.8297 MB / 373.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.321, allocations: 411.1 kB / 373.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.3211, allocations: 59.72 kB / 373.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3212, allocations: 79.91 kB / 374 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.3227, allocations: 0.7639 MB / 374.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.3227, allocations: 5.219 kB / 374.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.3228, allocations: 30.31 kB / 374.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.3228, allocations: 19.44 kB / 374.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.3244, allocations: 0.9061 MB / 375.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.3281, allocations: 2.768 MB / 378.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3301, allocations: 2.186 MB / 380.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.3307, allocations: 343.7 kB / 381 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.3308, allocations: 183.4 kB / 381.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3309, allocations: 42.72 kB / 381.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.845e-06/0.3309, allocations: 0 / 381.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.003564/0.3344, allocations: 1.339 MB / 382.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3345, allocations: 60.34 kB / 382.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3348, allocations: 289.5 kB / 382.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.3349, allocations: 41.52 kB / 383 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.335, allocations: 288.9 kB / 383.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3352, allocations: 259.1 kB / 383.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.3354, allocations: 115.5 kB / 383.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.3355, allocations: 358.2 kB / 384 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.3359, allocations: 235.3 kB / 384.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.3365, allocations: 361.6 kB / 384.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.3375, allocations: 0.632 MB / 385.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3375, allocations: 0.6094 kB / 385.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001816/0.3393, allocations: 0.8704 MB / 386.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3393, allocations: 7.109 kB / 386.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3393, allocations: 2.938 kB / 386.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/0.3401, allocations: 205.6 kB / 386.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.3407, allocations: 131.8 kB / 386.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.3436, allocations: 2.713 MB / 389.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.3441, allocations: 65.11 kB / 389.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.3442, allocations: 30.47 kB / 389.2 MB, free: 9.922 MB / 302.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.000316/0.3445, allocations: 204 kB / 389.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.3446, allocations: 48 kB / 389.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.3466, allocations: 0.8967 MB / 390.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3466, allocations: 11.56 kB / 390.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3467, allocations: 3.969 kB / 390.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3467, allocations: 7.594 kB / 390.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.3494, allocations: 1.694 MB / 392.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3495, allocations: 0 / 392.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.3499, allocations: 111.6 kB / 392.2 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006727/0.3506, allocations: 208.1 kB / 392.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.3507, allocations: 14.33 kB / 392.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.3535, allocations: 2.703 MB / 395.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3535, allocations: 3.938 kB / 395.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.3556, allocations: 1.253 MB / 396.4 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3557, allocations: 134.5 kB / 396.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.3558, allocations: 11.31 kB / 396.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3561, allocations: 28.45 kB / 396.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3562, allocations: 59.23 kB / 396.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.3563, allocations: 23.5 kB / 396.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3565, allocations: 210.8 kB / 396.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.3565, allocations: 0 / 396.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.3573, allocations: 234.3 kB / 397 MB, free: 4.984 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 (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.002385/0.3597, allocations: 1.839 MB / 398.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.3614, allocations: 0.8788 MB / 399.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3614, allocations: 0.8125 kB / 399.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.3621, allocations: 0.545 MB / 400.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3626, allocations: 62.62 kB / 400.4 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/0.37, allocations: 5.146 MB / 405.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.3706, allocations: 0.8852 MB / 406.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004503/0.3711, allocations: 80.52 kB / 406.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.3714, allocations: 223.3 kB / 406.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3714, allocations: 0 / 406.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/0.4191, allocations: 12.19 MB / 418.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.43, allocations: 14.7 kB / 418.9 MB, free: 0.8984 MB / 318.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1)