Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001387, allocations: 181.2 kB / 15.43 MB, free: 5.773 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.04192/0.04192, allocations: 8.918 MB / 25.1 MB, free: 3.543 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.7 MB / 253.7 MB, free: 5.203 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 103 kB / 307 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2701, allocations: 52.55 MB / 422.8 MB, free: 47.92 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.003811/0.274, allocations: 3.487 MB / 426.3 MB, free: 45.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2761, allocations: 1.206 MB / 427.5 MB, free: 44.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/0.2767, allocations: 26.84 kB / 427.6 MB, free: 44.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.2771, allocations: 134.5 kB / 427.7 MB, free: 44.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.2781, allocations: 254.3 kB / 427.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.2786, allocations: 152.1 kB / 428.1 MB, free: 44.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.2804, allocations: 1.762 MB / 429.8 MB, free: 43.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.2817, allocations: 1.273 MB / 431.1 MB, free: 42.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.2825, allocations: 0.5312 MB / 431.6 MB, free: 42.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008478/0.2833, allocations: 0.7003 MB / 432.3 MB, free: 42.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.2835, allocations: 83.78 kB / 432.4 MB, free: 42.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.2838, allocations: 82.81 kB / 432.5 MB, free: 42.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.2842, allocations: 379.7 kB / 432.9 MB, free: 42.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.2849, allocations: 0.7278 MB / 433.6 MB, free: 41.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.2875, allocations: 2.283 MB / 435.9 MB, free: 40.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2875, allocations: 4 kB / 435.9 MB, free: 40.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2875, allocations: 1.219 kB / 435.9 MB, free: 40.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.652e-05/0.2876, allocations: 0 / 435.9 MB, free: 40.65 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.00348/0.2911, allocations: 1.606 MB / 437.5 MB, free: 39.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2911, allocations: 9.906 kB / 437.5 MB, free: 39.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.2916, allocations: 172.3 kB / 437.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.293, allocations: 0.9911 MB / 438.7 MB, free: 38.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2931, allocations: 108.7 kB / 438.8 MB, free: 38.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.2934, allocations: 140.6 kB / 438.9 MB, free: 38.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/0.2965, allocations: 1.928 MB / 440.8 MB, free: 37.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.2965, allocations: 1.031 kB / 440.8 MB, free: 37.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.2967, allocations: 55.84 kB / 440.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.2967, allocations: 38.31 kB / 440.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.299, allocations: 1.605 MB / 442.5 MB, free: 36.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/0.3051, allocations: 4.89 MB / 447.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.3064, allocations: 1.848 MB / 449.3 MB, free: 29.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008767/0.3072, allocations: 0.6747 MB / 450 MB, free: 28.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.3073, allocations: 12.66 kB / 450 MB, free: 28.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007462/0.308, allocations: 0.614 MB / 450.6 MB, free: 27.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.3081, allocations: 3.938 kB / 450.6 MB, free: 27.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.003979/0.312, allocations: 2.814 MB / 453.4 MB, free: 24.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3121, allocations: 141.2 kB / 453.5 MB, free: 24.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.3129, allocations: 0.7932 MB / 454.3 MB, free: 23.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.313, allocations: 49.58 kB / 454.4 MB, free: 23.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.3133, allocations: 0.6199 MB / 455 MB, free: 23.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3134, allocations: 264.2 kB / 455.3 MB, free: 22.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3135, allocations: 16 kB / 455.3 MB, free: 22.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.3136, allocations: 394.7 kB / 455.7 MB, free: 22.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005189/0.3141, allocations: 409.7 kB / 456.1 MB, free: 22.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/0.3147, allocations: 0.5997 MB / 456.7 MB, free: 21.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3158, allocations: 1.009 MB / 457.7 MB, free: 20.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3158, allocations: 0 / 457.7 MB, free: 20.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001574/0.3174, allocations: 1.254 MB / 458.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3174, allocations: 8 kB / 458.9 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3174, allocations: 4.188 kB / 458.9 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.3178, allocations: 164.8 kB / 459.1 MB, free: 18.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.3184, allocations: 163.7 kB / 459.3 MB, free: 18.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.3207, allocations: 2.743 MB / 462 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.3212, allocations: 64.02 kB / 462.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.3213, allocations: 24 kB / 462.1 MB, free: 15.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007206/0.322, allocations: 0.5489 MB / 462.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.3221, allocations: 86.91 kB / 462.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.3222, allocations: 112.3 kB / 462.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3223, allocations: 8 kB / 462.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3223, allocations: 8 kB / 462.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3223, allocations: 3.984 kB / 462.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.3255, allocations: 2.677 MB / 465.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3256, allocations: 0 / 465.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.326, allocations: 115.9 kB / 465.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.3263, allocations: 164.9 kB / 465.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.3264, allocations: 31.86 kB / 465.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.3285, allocations: 2.687 MB / 468.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3286, allocations: 0 / 468.5 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.3306, allocations: 1.751 MB / 470.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.331, allocations: 248.2 kB / 470.5 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.3311, allocations: 39.86 kB / 470.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.3315, allocations: 51.95 kB / 470.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3317, allocations: 76.55 kB / 470.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.3317, allocations: 23.98 kB / 470.7 MB, free: 6.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006173/0.3324, allocations: 0.5575 MB / 471.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3324, allocations: 0 / 471.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000854/0.3332, allocations: 268 kB / 471.5 MB, free: 6.113 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001387/0.3334, allocations: 148.7 kB / 471.7 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.3349, allocations: 1.143 MB / 472.8 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3349, allocations: 4 kB / 472.8 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.3357, allocations: 0.6817 MB / 473.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3368, allocations: 200.5 kB / 473.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.3407, allocations: 3.527 MB / 477.2 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009805/0.3417, allocations: 1.501 MB / 478.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007091/0.3424, allocations: 222.5 kB / 478.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3426, allocations: 59.42 kB / 479 MB, free: 14.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.565e-06/0.3426, allocations: 0 / 479 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Templates: time 0.02148/0.3641, allocations: 12.46 MB / 491.4 MB, free: 2.133 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)