Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007989, allocations: 91.44 kB / 17.58 MB, free: 5.801 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.0008815/0.0008815, allocations: 185.5 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 224.6 MB, free: 13.01 MB / 190.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.0004563/0.0004563, allocations: 16 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 47.58 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01363/0.1287, allocations: 12.57 MB / 341.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009245/0.138, allocations: 3.607 MB / 345.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.1409, allocations: 79.75 kB / 345.2 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.1431, allocations: 0.5862 MB / 345.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.1493, allocations: 1.466 MB / 347.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.1525, allocations: 0.8771 MB / 348.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.1663, allocations: 9.503 MB / 357.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02217/0.1886, allocations: 12.19 MB / 369.9 MB, free: 11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.1931, allocations: 2.515 MB / 372.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005623/0.1987, allocations: 3.051 MB / 375.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.2002, allocations: 396 kB / 375.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.2028, allocations: 0.5545 MB / 376.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.2039, allocations: 1.23 MB / 377.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.2061, allocations: 1.264 MB / 378.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.244/0.4501, allocations: 10.3 MB / 389.2 MB, free: 24.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4502, allocations: 1.031 kB / 389.2 MB, free: 24.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4502, allocations: 0 / 389.2 MB, free: 24.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005507/0.4508, allocations: 3.281 kB / 389.2 MB, free: 24.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02553/0.4763, allocations: 6.968 MB / 396.1 MB, free: 21.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4764, allocations: 9.812 kB / 396.1 MB, free: 21.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03203/0.5084, allocations: 5.1 MB / 401.2 MB, free: 19.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.5206, allocations: 3.523 MB / 404.8 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006361/0.5213, allocations: 0.5074 MB / 405.3 MB, free: 18.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004776/0.5261, allocations: 0.6663 MB / 405.9 MB, free: 18.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/0.5615, allocations: 10.43 MB / 416.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002704/0.5618, allocations: 10.97 kB / 416.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.5637, allocations: 279.7 kB / 416.7 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003883/0.5641, allocations: 387.7 kB / 417 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02087/0.585, allocations: 9.583 MB / 426.6 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06117/0.6463, allocations: 31.95 MB / 458.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/0.6674, allocations: 22.88 MB / 481.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/0.6712, allocations: 1.926 MB / 483.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.6818, allocations: 6.236 MB / 489.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.6819, allocations: 51.98 kB / 489.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.989e-06/0.6819, allocations: 4 kB / 489.7 MB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.006094/0.688, allocations: 3.153 MB / 492.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.6881, allocations: 94.55 kB / 492.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.6922, allocations: 2.6 MB / 495.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.6923, allocations: 49.7 kB / 495.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/0.6946, allocations: 3.119 MB / 498.7 MB, free: 10.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.6951, allocations: 0.5496 MB / 499.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.6953, allocations: 80 kB / 499.3 MB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.6956, allocations: 470.4 kB / 499.8 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.6979, allocations: 1.448 MB / 0.4895 GB, free: 8.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003526/0.7014, allocations: 3.242 MB / 0.4926 GB, free: 4.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.7045, allocations: 2.195 MB / 0.4948 GB, free: 1.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.7046, allocations: 20 kB / 0.4948 GB, free: 1.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008268/0.7128, allocations: 5.05 MB / 0.4997 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.173e-05/0.7129, allocations: 32 kB / 0.4998 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.658e-05/0.713, allocations: 63.98 kB / 0.4998 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007757/0.7138, allocations: 340.2 kB / 0.5001 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.7164, allocations: 0.8855 MB / 0.501 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.7216, allocations: 4.635 MB / 0.5055 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.725, allocations: 0.5366 MB / 0.5061 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.7253, allocations: 212 kB / 0.5063 GB, free: 6.379 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00538/0.7307, allocations: 2.33 MB / 0.5085 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005097/0.7312, allocations: 223.8 kB / 0.5087 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.7351, allocations: 2.327 MB / 0.511 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.7352, allocations: 19.98 kB / 0.511 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.7352, allocations: 8 kB / 0.511 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.7352, allocations: 7.969 kB / 0.5111 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009023/0.7442, allocations: 5.332 MB / 0.5163 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.7443, allocations: 0 / 0.5163 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7454, allocations: 255 kB / 0.5165 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006151/0.746, allocations: 261.3 kB / 0.5168 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.7461, allocations: 35.94 kB / 0.5168 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.7508, allocations: 4.509 MB / 0.5212 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7509, allocations: 7.984 kB / 0.5212 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/0.7556, allocations: 3.284 MB / 0.5244 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.7569, allocations: 0.4899 MB / 0.5249 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.7571, allocations: 28 kB / 0.5249 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/0.7581, allocations: 95.97 kB / 0.525 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.7583, allocations: 116.9 kB / 0.5251 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/0.7584, allocations: 40.19 kB / 0.5252 GB, free: 2.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003058/0.7615, allocations: 1.694 MB / 0.5268 GB, free: 1.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7615, allocations: 4 kB / 0.5268 GB, free: 1.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.3037/1.065, allocations: 1.524 MB / 0.5283 GB, free: 143 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007051/1.066, allocations: 160.3 kB / 0.5285 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006974/1.073, allocations: 3.496 MB / 0.5319 GB, free: 142.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.073, allocations: 1.219 kB / 0.5319 GB, free: 142.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.075, allocations: 1.261 MB / 0.5331 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.077, allocations: 465.7 kB / 0.5335 GB, free: 142.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.097, allocations: 12.05 MB / 0.5453 GB, free: 135.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/1.1, allocations: 4.074 MB / 0.5493 GB, free: 134.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009782/1.101, allocations: 226 kB / 0.5495 GB, free: 134.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.653e-06/1.101, allocations: 0 / 0.5495 GB, free: 134.1 MB / 430.1 MB Notification: Performance of Templates: time 0.1444/1.245, allocations: 130 MB / 0.6764 GB, free: 10.16 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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 OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.o] Error 1