Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.673/1.673, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006058/0.0006059, allocations: 12 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.601/0.6017, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004524/0.6062, allocations: 2.852 MB / 0.7308 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.6098, allocations: 2.013 MB / 0.7327 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.61, allocations: 7.938 kB / 0.7327 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.6102, allocations: 35.77 kB / 0.7328 GB, free: 6.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005495/0.6108, allocations: 155.5 kB / 0.7329 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.6116, allocations: 215.4 kB / 0.7331 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.612, allocations: 223.5 kB / 0.7333 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.6127, allocations: 315.5 kB / 0.7336 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.6129, allocations: 115.6 kB / 0.7338 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.6132, allocations: 127.4 kB / 0.7339 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.6132, allocations: 12 kB / 0.7339 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.6137, allocations: 255.6 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.6138, allocations: 75.75 kB / 0.7342 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.614, allocations: 73.56 kB / 0.7343 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.6144, allocations: 375.1 kB / 0.7346 GB, free: 4.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6144, allocations: 0 / 0.7346 GB, free: 4.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6144, allocations: 4 kB / 0.7346 GB, free: 4.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.6144, allocations: 0 / 0.7346 GB, free: 4.559 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001014/0.6154, allocations: 0.5642 MB / 0.7352 GB, free: 3.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.6155, allocations: 8.031 kB / 0.7352 GB, free: 3.941 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009218/0.6164, allocations: 151.4 kB / 0.7353 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.6168, allocations: 262.5 kB / 0.7356 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.6169, allocations: 24.42 kB / 0.7356 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.6169, allocations: 20 kB / 0.7356 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.6176, allocations: 415.5 kB / 0.736 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6176, allocations: 0 / 0.736 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.6177, allocations: 11.98 kB / 0.736 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.6178, allocations: 36.53 kB / 0.7361 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/0.6184, allocations: 361.9 kB / 0.7364 GB, free: 2.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.6211, allocations: 2.05 MB / 0.7384 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/0.6219, allocations: 356.3 kB / 0.7388 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.622, allocations: 97.27 kB / 0.7389 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.6221, allocations: 30.75 kB / 0.7389 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.6221, allocations: 0 / 0.7389 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.005206/0.6273, allocations: 1.768 MB / 0.7406 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.6274, allocations: 81.11 kB / 0.7407 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.6277, allocations: 236.9 kB / 0.7409 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.6277, allocations: 29.7 kB / 0.7409 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.6279, allocations: 188 kB / 0.7411 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.628, allocations: 118.3 kB / 0.7412 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.628, allocations: 11.94 kB / 0.7412 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6282, allocations: 334.8 kB / 0.7416 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.6286, allocations: 204.7 kB / 0.7418 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.6291, allocations: 316.2 kB / 0.7421 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.6296, allocations: 243.9 kB / 0.7423 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6296, allocations: 0 / 0.7423 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001299/0.6309, allocations: 0.691 MB / 0.743 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005504/0.6315, allocations: 1.14 MB / 0.7441 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6315, allocations: 0 / 0.7441 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.632, allocations: 147.3 kB / 0.7442 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.6324, allocations: 99.88 kB / 0.7443 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.6355, allocations: 3.973 MB / 0.7482 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.6359, allocations: 48.12 kB / 0.7482 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.636, allocations: 19.98 kB / 0.7483 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.636, allocations: 4 kB / 0.7483 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/0.6373, allocations: 0.6355 MB / 0.7489 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.6373, allocations: 4 kB / 0.7489 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.6376, allocations: 143.3 kB / 0.749 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.6381, allocations: 100 kB / 0.7491 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000654/0.6387, allocations: 1.105 MB / 0.7502 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.639, allocations: 40.16 kB / 0.7502 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.6391, allocations: 16 kB / 0.7503 GB, free: 3.574 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.6393, allocations: 256.9 kB / 0.7505 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.6394, allocations: 31.58 kB / 0.7505 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.6407, allocations: 0.6361 MB / 0.7511 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6407, allocations: 4 kB / 0.7512 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6407, allocations: 3.953 kB / 0.7512 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6407, allocations: 3.984 kB / 0.7512 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.6428, allocations: 1.235 MB / 0.7524 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.6428, allocations: 8.219 kB / 0.7524 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.6431, allocations: 67.88 kB / 0.7524 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.6436, allocations: 151.3 kB / 0.7526 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.6436, allocations: 15.95 kB / 0.7526 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/0.6469, allocations: 3.982 MB / 0.7565 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6469, allocations: 3.953 kB / 0.7565 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.6484, allocations: 0.8878 MB / 0.7574 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.6486, allocations: 140.7 kB / 0.7575 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.6486, allocations: 8 kB / 0.7575 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.649, allocations: 47.95 kB / 0.7575 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.6491, allocations: 31.86 kB / 0.7576 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.6491, allocations: 8 kB / 0.7576 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001832/0.6493, allocations: 172.5 kB / 0.7577 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6493, allocations: 3.938 kB / 0.7577 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000838/0.6501, allocations: 164 kB / 0.7579 GB, free: 11.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.6505, allocations: 143.1 kB / 0.758 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.6528, allocations: 1.217 MB / 0.7592 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.6528, allocations: 0 / 0.7592 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.6536, allocations: 0.4904 MB / 0.7597 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.654, allocations: 60.33 kB / 0.7598 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6555, allocations: 0.8582 MB / 0.7606 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.6559, allocations: 0.8162 MB / 0.7614 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000333/0.6563, allocations: 114.9 kB / 0.7615 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.6564, allocations: 27.42 kB / 0.7615 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.6564, allocations: 0 / 0.7615 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of Templates: time 0.01123/0.6676, allocations: 5.456 MB / 0.7669 GB, free: 1.84 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: