Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 110.5 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 219.3 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.286/1.286, allocations: 230.5 MB / 256.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 179] 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.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001813/0.001813, allocations: 71.83 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2032, allocations: 53.32 MB / 429.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.0139/0.2171, allocations: 15.38 MB / 444.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.2393, allocations: 20.86 MB / 465.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2408, allocations: 95.19 kB / 465.7 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.2434, allocations: 1.264 MB / 467 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006218/0.2496, allocations: 2.408 MB / 469.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003698/0.2533, allocations: 1.452 MB / 470.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009847/0.2632, allocations: 6.714 MB / 477.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.2637, allocations: 269.7 kB / 477.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2653, allocations: 1.135 MB / 479 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.2666, allocations: 1.141 MB / 480.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.2668, allocations: 76 kB / 480.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.2703, allocations: 1.486 MB / 481.7 MB, free: 2.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.2707, allocations: 333.5 kB / 482 MB, free: 2.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.272, allocations: 1.432 MB / 483.4 MB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004639/0.2766, allocations: 4.017 MB / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2766, allocations: 0 / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2766, allocations: 0 / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.949e-05/0.2766, allocations: 0 / 487.4 MB, free: 13.18 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004936/0.2816, allocations: 3.965 MB / 491.4 MB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2816, allocations: 8.031 kB / 491.4 MB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.2817, allocations: 98.5 kB / 491.5 MB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.2821, allocations: 429.3 kB / 491.9 MB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.2852, allocations: 2.503 MB / 494.4 MB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.2852, allocations: 37 kB / 494.5 MB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.2854, allocations: 55.94 kB / 494.5 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2866, allocations: 0.7304 MB / 495.2 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2866, allocations: 0 / 495.2 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.2867, allocations: 16 kB / 495.3 MB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.2867, allocations: 27.98 kB / 495.3 MB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.2883, allocations: 0.8085 MB / 496.1 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004689/0.2929, allocations: 3.11 MB / 499.2 MB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.2941, allocations: 0.5204 MB / 499.7 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/0.295, allocations: 0.5618 MB / 0.4886 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02976/0.3248, allocations: 30.76 MB / 0.5186 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.3255, allocations: 369.6 kB / 0.519 GB, free: 12.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.364e-06/0.3255, allocations: 0 / 0.519 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.002253/0.3278, allocations: 1.126 MB / 0.5201 GB, free: 11.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3278, allocations: 59.39 kB / 0.5201 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.3313, allocations: 3.087 MB / 0.5231 GB, free: 8.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.3314, allocations: 41.7 kB / 0.5232 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.3327, allocations: 1.582 MB / 0.5247 GB, free: 6.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.3329, allocations: 178.5 kB / 0.5249 GB, free: 6.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.3332, allocations: 230.4 kB / 0.5251 GB, free: 6.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3333, allocations: 338 kB / 0.5254 GB, free: 6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/0.3339, allocations: 241.8 kB / 0.5257 GB, free: 5.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.3347, allocations: 0.602 MB / 0.5262 GB, free: 4.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.3361, allocations: 0.9051 MB / 0.5271 GB, free: 3.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3361, allocations: 4 kB / 0.5271 GB, free: 3.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002043/0.3381, allocations: 1.262 MB / 0.5284 GB, free: 2.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3382, allocations: 8 kB / 0.5284 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.3383, allocations: 84.84 kB / 0.5285 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.3383, allocations: 16 kB / 0.5285 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.339, allocations: 203.7 kB / 0.5287 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.522e-05/0.339, allocations: 31.8 kB / 0.5287 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.3399, allocations: 111.3 kB / 0.5288 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/0.34, allocations: 64 kB / 0.5289 GB, free: 2.129 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006578/0.3406, allocations: 461.4 kB / 0.5293 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003659/0.341, allocations: 417.3 kB / 0.5297 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.3434, allocations: 1.199 MB / 0.5309 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.3434, allocations: 11.98 kB / 0.5309 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3434, allocations: 0 / 0.5309 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3435, allocations: 4 kB / 0.5309 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.3466, allocations: 2.143 MB / 0.533 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.934e-05/0.3467, allocations: 75.98 kB / 0.5331 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.3472, allocations: 91.86 kB / 0.5331 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3472, allocations: 0 / 0.5331 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.3472, allocations: 32 kB / 0.5332 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.3472, allocations: 4 kB / 0.5332 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3472, allocations: 4.062 kB / 0.5332 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.3495, allocations: 1.346 MB / 0.5345 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006541/0.3501, allocations: 0.5022 MB / 0.535 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.3503, allocations: 8 kB / 0.535 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.351, allocations: 35.95 kB / 0.535 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3511, allocations: 63.95 kB / 0.5351 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.3512, allocations: 36 kB / 0.5351 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002398/0.3536, allocations: 2.01 MB / 0.5371 GB, free: 9.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 0.5371 GB, free: 9.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001246/0.3549, allocations: 0.5969 MB / 0.5377 GB, free: 8.973 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003544/0.3584, allocations: 2.585 MB / 0.5402 GB, free: 6.352 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.36, allocations: 0.7711 MB / 0.5409 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.36, allocations: 4.062 kB / 0.5409 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.3608, allocations: 422.9 kB / 0.5414 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.3634, allocations: 0.6588 MB / 0.542 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1813/0.5447, allocations: 17.05 MB / 0.5586 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.5454, allocations: 1.715 MB / 0.5603 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008016/0.5462, allocations: 359.7 kB / 0.5607 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007986/0.547, allocations: 1.267 MB / 0.5619 GB, free: 114.3 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.547, allocations: 3.812 kB / 0.5619 GB, free: 114.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/0.6278, allocations: 63.36 MB / 0.6238 GB, free: 51.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.48, allocations: 0 / 0.6238 GB, free: 51.97 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.654008928999247]