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.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 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.SeriesBode,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_4_1_0-beta_om_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.001739/0.001739, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 214.4 kB / 18.59 MB, free: 4.531 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.477/1.477, allocations: 227.7 MB / 247 MB, free: 10.29 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.001843/0.001843, allocations: 64.84 kB / 307.3 MB, free: 396 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1097, allocations: 50.54 MB / 357.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.006078/0.1159, allocations: 3.952 MB / 361.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.1191, allocations: 1.631 MB / 363.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.1194, allocations: 15.94 kB / 363.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1213, allocations: 0.7656 MB / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000977/0.1222, allocations: 381.9 kB / 364.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1236, allocations: 0.6682 MB / 365.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000743/0.1244, allocations: 0.5215 MB / 365.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.1253, allocations: 0.5003 MB / 366.3 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.1257, allocations: 239.1 kB / 366.5 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.1261, allocations: 294.8 kB / 366.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.1261, allocations: 52 kB / 366.9 MB, free: 4.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.1268, allocations: 255.8 kB / 367.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1269, allocations: 119.6 kB / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1272, allocations: 266.7 kB / 367.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1283, allocations: 0.7905 MB / 368.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1283, allocations: 0 / 368.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1284, allocations: 3.938 kB / 368.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1284, allocations: 4 kB / 368.3 MB, free: 3.367 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.002404/0.1308, allocations: 0.9597 MB / 369.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1308, allocations: 12.03 kB / 369.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.131, allocations: 111.9 kB / 369.4 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.1339, allocations: 411.9 kB / 369.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1345, allocations: 353.3 kB / 370.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.1345, allocations: 53.44 kB / 370.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/0.1346, allocations: 56 kB / 370.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1359, allocations: 0.6354 MB / 370.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1359, allocations: 0 / 370.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.136, allocations: 24 kB / 370.9 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.136, allocations: 16 kB / 370.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1372, allocations: 0.5751 MB / 371.5 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1805/0.3177, allocations: 2.273 MB / 373.8 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.3191, allocations: 1.18 MB / 374.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.3195, allocations: 191 kB / 375.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.3196, allocations: 172 kB / 375.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3197, allocations: 45.66 kB / 375.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.3197, allocations: 0 / 375.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001686/0.3214, allocations: 0.6809 MB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.3214, allocations: 60.06 kB / 376.1 MB, free: 17.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.3217, allocations: 282.3 kB / 376.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3218, allocations: 31.67 kB / 376.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3219, allocations: 242.5 kB / 376.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.322, allocations: 152.4 kB / 376.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3222, allocations: 84.19 kB / 376.8 MB, free: 16.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.3222, allocations: 343.3 kB / 377.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.3226, allocations: 153.9 kB / 377.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.323, allocations: 256.2 kB / 377.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.3236, allocations: 432.7 kB / 378 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3237, allocations: 1.375 kB / 378 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001065/0.3247, allocations: 0.5189 MB / 378.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3248, allocations: 6.125 kB / 378.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3248, allocations: 6.719 kB / 378.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.325, allocations: 57.89 kB / 378.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.3254, allocations: 98.31 kB / 378.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.3266, allocations: 1.768 MB / 380.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.3269, allocations: 59.03 kB / 380.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.327, allocations: 24.36 kB / 380.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000395/0.3274, allocations: 269.8 kB / 380.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003124/0.3277, allocations: 249.8 kB / 381 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006085/0.3283, allocations: 421.2 kB / 381.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.3283, allocations: 1.312 kB / 381.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001005/0.3294, allocations: 0.5115 MB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3294, allocations: 7.047 kB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3294, allocations: 2.844 kB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.3296, allocations: 55.66 kB / 382 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.3299, allocations: 99.39 kB / 382.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.331, allocations: 1.764 MB / 383.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3313, allocations: 43.48 kB / 383.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.3313, allocations: 23.95 kB / 384 MB, free: 11.12 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 (53): * Single equations (assignments): 52 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.3315, allocations: 203.8 kB / 384.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.3315, allocations: 35.64 kB / 384.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3326, allocations: 0.4994 MB / 384.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3326, allocations: 9.438 kB / 384.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3326, allocations: 1.781 kB / 384.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3326, allocations: 2.578 kB / 384.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.3342, allocations: 1.095 MB / 385.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3342, allocations: 0.5156 kB / 385.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.3345, allocations: 79.77 kB / 385.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.3347, allocations: 51.69 kB / 385.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.3347, allocations: 11.97 kB / 385.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.3359, allocations: 1.755 MB / 387.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3359, allocations: 0 / 387.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.3371, allocations: 0.7473 MB / 388.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3372, allocations: 147.1 kB / 388.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.3373, allocations: 11.22 kB / 388.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3375, allocations: 25.41 kB / 388.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.3376, allocations: 34.7 kB / 388.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.3377, allocations: 13.7 kB / 388.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.3378, allocations: 193.9 kB / 388.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 388.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008767/0.3387, allocations: 243.2 kB / 389.1 MB, free: 7.59 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 (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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.3406, allocations: 1.329 MB / 390.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.3429, allocations: 0.908 MB / 391.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.3429, allocations: 1.203 kB / 391.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.3436, allocations: 340.6 kB / 391.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.3442, allocations: 51.38 kB / 391.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005644/0.3498, allocations: 3.805 MB / 395.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.3502, allocations: 0.8244 MB / 396.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.3506, allocations: 73.98 kB / 396.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.3508, allocations: 161.6 kB / 396.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3508, allocations: 0 / 396.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.3862, allocations: 8.612 MB / 405.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.943/10.33, allocations: 15.17 kB / 405.2 MB, free: 14.38 MB / 318.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesBode.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1)