Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.807/1.807, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 175.3 kB / 393.1 MB, free: 4.07 MB / 314.7 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.618/1.618, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 94.47 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005398/0.0005398, allocations: 12 kB / 0.9224 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6676, allocations: 121.3 MB / 1.041 GB, free: 59.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003678/0.6714, allocations: 2.522 MB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.6745, allocations: 2.857 MB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.6747, allocations: 8.812 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.6749, allocations: 27.41 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.6754, allocations: 170 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.6759, allocations: 201.3 kB / 1.047 GB, free: 54.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.6764, allocations: 437.1 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008063/0.6772, allocations: 0.5899 MB / 1.048 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.6774, allocations: 107 kB / 1.048 GB, free: 53.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.6777, allocations: 141.6 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.6777, allocations: 8.531 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.6782, allocations: 299.1 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.626e-05/0.6783, allocations: 79.33 kB / 1.048 GB, free: 53.63 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.6785, allocations: 128.1 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.679, allocations: 425 kB / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.679, allocations: 0 / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.679, allocations: 0 / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.679, allocations: 0 / 1.049 GB, free: 53.42 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008267/0.6799, allocations: 0.5003 MB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6799, allocations: 10.47 kB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006325/0.6806, allocations: 95.7 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.6809, allocations: 256.6 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.6809, allocations: 11.94 kB / 1.049 GB, free: 52.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.681, allocations: 26.81 kB / 1.05 GB, free: 52.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.6816, allocations: 379 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.6816, allocations: 4 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.6816, allocations: 9.953 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.6817, allocations: 25.66 kB / 1.05 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.6823, allocations: 336.2 kB / 1.05 GB, free: 52.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.6839, allocations: 1.722 MB / 1.052 GB, free: 50.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.6846, allocations: 346.5 kB / 1.052 GB, free: 50.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.6848, allocations: 152.5 kB / 1.052 GB, free: 50.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.685, allocations: 84.83 kB / 1.052 GB, free: 50.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.685, allocations: 48.41 kB / 1.053 GB, free: 50.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.685, allocations: 1.188 kB / 1.053 GB, free: 50.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001373/0.6864, allocations: 0.6021 MB / 1.053 GB, free: 50.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6864, allocations: 84.64 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.6867, allocations: 205.2 kB / 1.053 GB, free: 50.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6867, allocations: 30.77 kB / 1.053 GB, free: 49.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.6868, allocations: 161.4 kB / 1.054 GB, free: 49.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.6869, allocations: 74.88 kB / 1.054 GB, free: 49.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.6869, allocations: 5.156 kB / 1.054 GB, free: 49.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.687, allocations: 332.8 kB / 1.054 GB, free: 49.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.6873, allocations: 134.1 kB / 1.054 GB, free: 49.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.6876, allocations: 216.6 kB / 1.054 GB, free: 49.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.6882, allocations: 378.2 kB / 1.055 GB, free: 49.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6882, allocations: 2.906 kB / 1.055 GB, free: 49.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007805/0.689, allocations: 432.3 kB / 1.055 GB, free: 48.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.6891, allocations: 170.9 kB / 1.055 GB, free: 48.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.6891, allocations: 2.5 kB / 1.055 GB, free: 48.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.6894, allocations: 47.62 kB / 1.055 GB, free: 48.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.6897, allocations: 67.48 kB / 1.055 GB, free: 48.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.6911, allocations: 1.499 MB / 1.057 GB, free: 47.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.6913, allocations: 31.94 kB / 1.057 GB, free: 47.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.6914, allocations: 8.688 kB / 1.057 GB, free: 47.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6914, allocations: 4.469 kB / 1.057 GB, free: 47.25 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006878/0.6921, allocations: 376 kB / 1.057 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6921, allocations: 7.156 kB / 1.057 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.6922, allocations: 47.22 kB / 1.057 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.6925, allocations: 65.11 kB / 1.057 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.6936, allocations: 1.486 MB / 1.059 GB, free: 45.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.6937, allocations: 27.06 kB / 1.059 GB, free: 45.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6938, allocations: 16.2 kB / 1.059 GB, free: 45.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.694, allocations: 244.8 kB / 1.059 GB, free: 45.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.6941, allocations: 18.17 kB / 1.059 GB, free: 45.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.6948, allocations: 370.3 kB / 1.059 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6948, allocations: 2.406 kB / 1.059 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6948, allocations: 1.641 kB / 1.059 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6948, allocations: 6.859 kB / 1.059 GB, free: 45.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.6962, allocations: 0.9731 MB / 1.06 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6962, allocations: 0 / 1.06 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.6964, allocations: 55.33 kB / 1.06 GB, free: 44.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.6966, allocations: 42.08 kB / 1.06 GB, free: 44.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.6966, allocations: 7.844 kB / 1.06 GB, free: 44.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007743/0.6974, allocations: 1.404 MB / 1.062 GB, free: 43.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6974, allocations: 5.594 kB / 1.062 GB, free: 43.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.698, allocations: 0.5358 MB / 1.062 GB, free: 42.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.6981, allocations: 130.4 kB / 1.063 GB, free: 42.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.6981, allocations: 8.594 kB / 1.063 GB, free: 42.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.6984, allocations: 27.7 kB / 1.063 GB, free: 42.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.6984, allocations: 17.77 kB / 1.063 GB, free: 42.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.6984, allocations: 5.969 kB / 1.063 GB, free: 42.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001247/0.6986, allocations: 161.5 kB / 1.063 GB, free: 42.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6986, allocations: 4 kB / 1.063 GB, free: 42.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005488/0.6991, allocations: 105.9 kB / 1.063 GB, free: 42.65 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.6993, allocations: 108.2 kB / 1.063 GB, free: 42.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.7004, allocations: 0.7451 MB / 1.064 GB, free: 42.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7004, allocations: 7.062 kB / 1.064 GB, free: 42.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.7008, allocations: 277.3 kB / 1.064 GB, free: 42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.7012, allocations: 36.09 kB / 1.064 GB, free: 41.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.7021, allocations: 0.6632 MB / 1.065 GB, free: 41.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.7023, allocations: 0.7667 MB / 1.065 GB, free: 40.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.7026, allocations: 94.88 kB / 1.065 GB, free: 40.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.7026, allocations: 20 kB / 1.065 GB, free: 40.82 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.7027, allocations: 0 / 1.065 GB, free: 40.82 MB / 0.698 GB Notification: Performance of Templates: time 0.00581/0.7085, allocations: 3.049 MB / 1.068 GB, free: 40.63 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)