Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 102.7 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.00149/0.00149, allocations: 170 kB / 16.58 MB, free: 6.07 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.595/1.595, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.555/2.555, allocations: 390.4 MB / 0.6662 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003808, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8903/0.8907, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002853/0.8936, allocations: 2.367 MB / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.8963, allocations: 1.877 MB / 0.9586 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.8965, allocations: 3.938 kB / 0.9586 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.8967, allocations: 33.34 kB / 0.9586 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.8972, allocations: 140.9 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.8979, allocations: 198.2 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.8984, allocations: 377.1 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006059/0.899, allocations: 344.5 kB / 0.9596 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.8993, allocations: 98.5 kB / 0.9597 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.8996, allocations: 148.1 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.8997, allocations: 9.625 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.9002, allocations: 254.7 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.9003, allocations: 87.77 kB / 0.9602 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.9004, allocations: 60.39 kB / 0.9602 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.9009, allocations: 343.5 kB / 0.9606 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9009, allocations: 1.156 kB / 0.9606 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9009, allocations: 0 / 0.9606 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9009, allocations: 0 / 0.9606 GB, free: 3.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001088/0.902, allocations: 0.5202 MB / 0.9611 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9021, allocations: 10 kB / 0.9611 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000842/0.9029, allocations: 111.9 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.9033, allocations: 250.1 kB / 0.9614 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.9034, allocations: 16.69 kB / 0.9614 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.9034, allocations: 16.38 kB / 0.9615 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.9042, allocations: 389.8 kB / 0.9618 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9042, allocations: 3.938 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.9042, allocations: 19.19 kB / 0.9619 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.9043, allocations: 25.23 kB / 0.9619 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.905, allocations: 367.1 kB / 0.9622 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.9067, allocations: 1.734 MB / 0.9639 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.9074, allocations: 345 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.9077, allocations: 188.1 kB / 0.9644 GB, free: 260 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.9078, allocations: 97.34 kB / 0.9645 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.9079, allocations: 35.66 kB / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.9079, allocations: 0 / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.007095/0.915, allocations: 2.072 MB / 0.9666 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.9151, allocations: 85.19 kB / 0.9667 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.9153, allocations: 181.8 kB / 0.9668 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.9154, allocations: 31.89 kB / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.9155, allocations: 149.3 kB / 0.967 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.9156, allocations: 125.6 kB / 0.9671 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.9156, allocations: 5.844 kB / 0.9671 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9158, allocations: 327.9 kB / 0.9674 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.9163, allocations: 261.1 kB / 0.9677 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.9169, allocations: 344.7 kB / 0.968 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.9175, allocations: 290.8 kB / 0.9683 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9175, allocations: 1 kB / 0.9683 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001345/0.9188, allocations: 0.6558 MB / 0.9689 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.919, allocations: 153.6 kB / 0.9691 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.919, allocations: 6.297 kB / 0.9691 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/0.919, allocations: 3.812 kB / 0.9691 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.9199, allocations: 154 kB / 0.9692 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.92, allocations: 11.38 kB / 0.9693 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.9204, allocations: 62.98 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/0.9205, allocations: 15.14 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.9205, allocations: 5.625 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/0.9217, allocations: 0.5829 MB / 0.9699 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9217, allocations: 6.375 kB / 0.9699 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.9217, allocations: 5.375 kB / 0.9699 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.9225, allocations: 150.9 kB / 0.9701 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.9225, allocations: 5 kB / 0.9701 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.9229, allocations: 55.7 kB / 0.9701 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.9229, allocations: 15.75 kB / 0.9701 GB, free: 12.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.9232, allocations: 242.4 kB / 0.9704 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.9233, allocations: 22.94 kB / 0.9704 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.9248, allocations: 0.6914 MB / 0.9711 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.9248, allocations: 11.91 kB / 0.9711 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9249, allocations: 0.8438 kB / 0.9711 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.9249, allocations: 5.016 kB / 0.9711 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.9273, allocations: 1.378 MB / 0.9724 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9273, allocations: 2 kB / 0.9724 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.9279, allocations: 127.9 kB / 0.9725 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.9279, allocations: 4 kB / 0.9726 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.9279, allocations: 12.28 kB / 0.9726 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.9279, allocations: 11.86 kB / 0.9726 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9279, allocations: 2.125 kB / 0.9726 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.929, allocations: 0.7211 MB / 0.9733 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.9292, allocations: 144.8 kB / 0.9734 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.9293, allocations: 12.03 kB / 0.9734 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.9296, allocations: 44.47 kB / 0.9735 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.9297, allocations: 33.3 kB / 0.9735 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.9298, allocations: 9.594 kB / 0.9735 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001442/0.9299, allocations: 149.1 kB / 0.9737 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9299, allocations: 0 / 0.9737 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007435/0.9307, allocations: 147.7 kB / 0.9738 GB, free: 10.23 MB / 0.7325 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002646/0.9309, allocations: 144.9 kB / 0.9739 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.9327, allocations: 0.8833 MB / 0.9748 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9327, allocations: 0.75 kB / 0.9748 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.9332, allocations: 264.3 kB / 0.975 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.9337, allocations: 42.88 kB / 0.9751 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.9352, allocations: 0.8626 MB / 0.9759 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.9356, allocations: 0.779 MB / 0.9767 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.9358, allocations: 36.52 kB / 0.9767 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.9358, allocations: 0 / 0.9767 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.008722/0.9445, allocations: 4.745 MB / 0.9814 GB, free: 3.793 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverterCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverterCalcHelperMain.o] Error 1