Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009421, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 176.3 kB / 16.58 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8481, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005202/0.8534, allocations: 4.75 MB / 0.959 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006167/0.8596, allocations: 3.81 MB / 0.9628 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008598/0.8605, allocations: 16.34 kB / 0.9628 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.861, allocations: 100.8 kB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.863, allocations: 0.5174 MB / 0.9634 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.8647, allocations: 413.8 kB / 0.9638 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.8671, allocations: 1.324 MB / 0.9651 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.8688, allocations: 0.6646 MB / 0.9657 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.87, allocations: 389.5 kB / 0.9661 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.8715, allocations: 0.5142 MB / 0.9666 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.8718, allocations: 35.66 kB / 0.9666 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.8736, allocations: 485.6 kB / 0.9671 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000666/0.8743, allocations: 302.9 kB / 0.9674 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.875, allocations: 163.7 kB / 0.9675 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.8774, allocations: 1.024 MB / 0.9685 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.8774, allocations: 0 / 0.9685 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8774, allocations: 4.688 kB / 0.9685 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.496e-05/0.8774, allocations: 0 / 0.9685 GB, free: 13.79 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00353/0.881, allocations: 1.023 MB / 0.9695 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.881, allocations: 9.125 kB / 0.9696 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009388/0.8904, allocations: 1.704 MB / 0.9712 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.8922, allocations: 0.5988 MB / 0.9718 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.8923, allocations: 44.38 kB / 0.9718 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/0.8928, allocations: 59.2 kB / 0.9719 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/0.8987, allocations: 1.912 MB / 0.9738 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.8988, allocations: 5.094 kB / 0.9738 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.899, allocations: 34.83 kB / 0.9738 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/0.8994, allocations: 151.5 kB / 0.9739 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008581/0.908, allocations: 2.617 MB / 0.9765 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.9213, allocations: 6.657 MB / 0.983 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.9248, allocations: 1.273 MB / 0.9842 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002538/0.9274, allocations: 0.908 MB / 0.9851 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/0.9304, allocations: 1.483 MB / 0.9866 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/0.9305, allocations: 38.56 kB / 0.9866 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 3.867e-06/0.9306, allocations: 0 / 0.9866 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.0274/0.958, allocations: 8.235 MB / 0.9947 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.9581, allocations: 90.11 kB / 0.9947 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.9591, allocations: 0.573 MB / 0.9953 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.9593, allocations: 49.7 kB / 0.9954 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.9597, allocations: 415 kB / 0.9958 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005205/0.9602, allocations: 374.6 kB / 0.9961 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.9604, allocations: 24 kB / 0.9961 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000267/0.9607, allocations: 390.7 kB / 0.9965 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.9637, allocations: 1.107 MB / 0.9976 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.9668, allocations: 1.452 MB / 0.999 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.9699, allocations: 1.226 MB / 1 GB, free: 308 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.97, allocations: 0 / 1 GB, free: 308 kB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01066/0.9806, allocations: 3.882 MB / 1.004 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004031/0.9811, allocations: 396.2 kB / 1.004 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.9811, allocations: 12 kB / 1.004 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005181/0.9863, allocations: 1.384 MB / 1.006 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.9885, allocations: 463.2 kB / 1.006 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.005, allocations: 11.21 MB / 1.017 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.008, allocations: 311.6 kB / 1.017 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/1.008, allocations: 59.97 kB / 1.017 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.008, allocations: 7.984 kB / 1.017 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01011/1.018, allocations: 3.569 MB / 1.021 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/1.018, allocations: 12 kB / 1.021 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/1.022, allocations: 1.096 MB / 1.022 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/1.024, allocations: 479.2 kB / 1.023 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.039, allocations: 10.34 MB / 1.033 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.041, allocations: 303.6 kB / 1.033 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/1.041, allocations: 67.97 kB / 1.033 GB, free: 13.47 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.000994/1.042, allocations: 384.5 kB / 1.033 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.043, allocations: 83.06 kB / 1.033 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.053, allocations: 3.766 MB / 1.037 GB, free: 9.203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/1.053, allocations: 12 kB / 1.037 GB, free: 9.191 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/1.053, allocations: 4 kB / 1.037 GB, free: 9.188 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.053, allocations: 7.984 kB / 1.037 GB, free: 9.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.067, allocations: 5.477 MB / 1.042 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/1.067, allocations: 8 kB / 1.042 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.069, allocations: 360.1 kB / 1.043 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00448/1.073, allocations: 1.252 MB / 1.044 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.073, allocations: 36.22 kB / 1.044 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.088, allocations: 10.73 MB / 1.055 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.088, allocations: 11.94 kB / 1.055 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.098, allocations: 3.67 MB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008811/1.099, allocations: 343.9 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.1, allocations: 20 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.102, allocations: 323.5 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/1.102, allocations: 104.3 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.102, allocations: 47.91 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007715/1.103, allocations: 402.8 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.91e-07/1.103, allocations: 0 / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003233/1.106, allocations: 0.5977 MB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004245/1.107, allocations: 143 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.121, allocations: 5.697 MB / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/1.121, allocations: 0 / 1.066 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005287/1.127, allocations: 2.13 MB / 1.068 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.129, allocations: 158.3 kB / 1.068 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.139, allocations: 3.904 MB / 1.072 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.14, allocations: 1.11 MB / 1.073 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/1.141, allocations: 95.36 kB / 1.073 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.563e-06/1.141, allocations: 0 / 1.073 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.04452/1.186, allocations: 29.36 MB / 1.101 GB, free: 6.113 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFullCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFullCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFullCalcHelperMain.o] Error 1