Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 94.25 kB / 16.67 MB, free: 6.105 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.001297/0.001297, allocations: 176.8 kB / 17.57 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2741/0.2741, allocations: 43.58 MB / 315.6 MB, free: 436 kB / 254.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.0005231/0.0005231, allocations: 19.2 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 58.87 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007575/0.1475, allocations: 7.126 MB / 451.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.1547, allocations: 2.314 MB / 453.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.1562, allocations: 28 kB / 453.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1575, allocations: 366.2 kB / 453.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.1605, allocations: 0.7926 MB / 454.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.1629, allocations: 0.8283 MB / 455.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.1652, allocations: 1.36 MB / 456.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.1685, allocations: 1.704 MB / 458.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009335/0.1695, allocations: 0.5369 MB / 459.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.1702, allocations: 0.665 MB / 459.8 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.1704, allocations: 60 kB / 459.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.1713, allocations: 271.8 kB / 460.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1715, allocations: 238.9 kB / 460.4 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.1721, allocations: 0.6233 MB / 461 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.1736, allocations: 1.313 MB / 462.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.1736, allocations: 4 kB / 462.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.968e-06/0.1737, allocations: 0 / 462.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.1737, allocations: 7.938 kB / 462.3 MB, free: 2.836 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007246/0.1809, allocations: 2.155 MB / 464.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.181, allocations: 8.031 kB / 464.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.1915, allocations: 1.502 MB / 466 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.1933, allocations: 0.613 MB / 466.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1934, allocations: 103.1 kB / 466.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.1937, allocations: 136.4 kB / 466.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00305/0.1968, allocations: 1.543 MB / 468.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.1968, allocations: 3.906 kB / 468.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.197, allocations: 56 kB / 468.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.197, allocations: 39.98 kB / 468.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.1998, allocations: 1.595 MB / 470.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009371/0.2092, allocations: 5.581 MB / 475.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.2127, allocations: 2.382 MB / 478 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.2138, allocations: 0.6645 MB / 478.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.214, allocations: 106.1 kB / 478.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.2141, allocations: 47.56 kB / 478.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.827e-06/0.2141, allocations: 0 / 478.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.01049/0.2246, allocations: 3.222 MB / 482.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.2247, allocations: 90.11 kB / 482.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.2255, allocations: 485.9 kB / 482.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/0.2256, allocations: 49.64 kB / 482.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/0.2261, allocations: 487.2 kB / 483.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.2265, allocations: 429.7 kB / 483.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.2267, allocations: 109.6 kB / 483.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.227, allocations: 382.8 kB / 484.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/0.2279, allocations: 475.1 kB / 484.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.2291, allocations: 0.7481 MB / 485.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.2314, allocations: 1.282 MB / 486.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.2314, allocations: 0 / 486.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003437/0.2348, allocations: 1.689 MB / 488.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.2349, allocations: 8 kB / 488.2 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.2349, allocations: 11.94 kB / 488.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.2366, allocations: 0.5279 MB / 488.8 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.2374, allocations: 215.6 kB / 489 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/0.2455, allocations: 4.717 MB / 493.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.2467, allocations: 142.7 kB / 493.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2468, allocations: 55.94 kB / 493.9 MB, free: 2.039 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006464/0.2474, allocations: 278.5 kB / 494.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.2477, allocations: 83.05 kB / 494.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/0.2509, allocations: 1.59 MB / 495.9 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.251, allocations: 23.94 kB / 495.9 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.251, allocations: 0 / 495.9 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.251, allocations: 7.969 kB / 495.9 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/0.2559, allocations: 2.919 MB / 498.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.2559, allocations: 11.97 kB / 498.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.2565, allocations: 143.8 kB / 499 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.258, allocations: 0.5188 MB / 499.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2581, allocations: 24 kB / 499.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007983/0.2661, allocations: 4.712 MB / 0.4924 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2662, allocations: 4 kB / 0.4924 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.2707, allocations: 2.328 MB / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.2713, allocations: 287.8 kB / 0.4949 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2714, allocations: 20 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.272, allocations: 56.03 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.2723, allocations: 105.1 kB / 0.4951 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.2724, allocations: 35.98 kB / 0.4951 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005008/0.2729, allocations: 318.9 kB / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2729, allocations: 0 / 0.4955 GB, free: 4.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001592/0.2745, allocations: 419.1 kB / 0.4959 GB, free: 3.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003422/0.2749, allocations: 163 kB / 0.496 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004036/0.2789, allocations: 1.893 MB / 0.4979 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.279, allocations: 3.984 kB / 0.4979 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.2815, allocations: 1.239 MB / 0.4991 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.2823, allocations: 106.2 kB / 0.4992 GB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.2867, allocations: 2.763 MB / 0.5019 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/0.2875, allocations: 1.08 MB / 0.5029 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.2878, allocations: 75.41 kB / 0.503 GB, free: 12.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.2878, allocations: 0 / 0.503 GB, free: 12.48 MB / 398.1 MB Notification: Performance of Templates: time 0.03017/0.318, allocations: 18.13 MB / 0.5207 GB, free: 10.31 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.IdealCalcHelperMain.o] Error 1