Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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) 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(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 98.75 kB / 16.96 MB, free: 6.453 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.001438/0.001439, allocations: 179.2 kB / 17.84 MB, free: 6 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.552/1.552, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00476/0.1285, allocations: 3.996 MB / 355.9 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.1317, allocations: 1.566 MB / 357.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.1321, allocations: 23.94 kB / 357.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.1326, allocations: 194.8 kB / 357.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1341, allocations: 0.5952 MB / 358.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1345, allocations: 163.2 kB / 358.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.1366, allocations: 1.96 MB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1377, allocations: 0.8856 MB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008323/0.1385, allocations: 0.5953 MB / 361.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009612/0.1395, allocations: 0.821 MB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.1397, allocations: 88 kB / 362.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1401, allocations: 199.9 kB / 362.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.1405, allocations: 418.5 kB / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1409, allocations: 324.9 kB / 363.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.1427, allocations: 2.03 MB / 365.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.1427, allocations: 4 kB / 365.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1427, allocations: 0 / 365.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.676e-05/0.1428, allocations: 3.938 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003833/0.1466, allocations: 1.922 MB / 367.6 MB, free: 4.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1467, allocations: 12.02 kB / 367.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.1484, allocations: 369.7 kB / 368 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.15, allocations: 1.028 MB / 369 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.1501, allocations: 106.7 kB / 369.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1504, allocations: 136 kB / 369.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.1536, allocations: 1.89 MB / 371.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1536, allocations: 0 / 371.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.1537, allocations: 63.89 kB / 371.2 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/0.1538, allocations: 53.98 kB / 371.3 MB, free: 420 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2489/0.4027, allocations: 1.689 MB / 373 MB, free: 24.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009946/0.4127, allocations: 5.595 MB / 378.6 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.4159, allocations: 2.913 MB / 381.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009105/0.4168, allocations: 0.5089 MB / 382 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/0.4194, allocations: 1.541 MB / 383.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4194, allocations: 41.73 kB / 383.6 MB, free: 17.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.4194, allocations: 5.406 kB / 383.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003568/0.423, allocations: 1.469 MB / 385 MB, free: 17.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.423, allocations: 82.3 kB / 385.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.4246, allocations: 1.027 MB / 386.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.4246, allocations: 41.02 kB / 386.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.4251, allocations: 0.6671 MB / 386.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.4252, allocations: 197.5 kB / 387 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.4253, allocations: 11.28 kB / 387.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.4254, allocations: 334 kB / 387.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.426, allocations: 370 kB / 387.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.4267, allocations: 0.5229 MB / 388.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.4275, allocations: 453.5 kB / 388.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4275, allocations: 5.188 kB / 388.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001681/0.4292, allocations: 1.009 MB / 389.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4292, allocations: 12 kB / 389.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.4292, allocations: 4.781 kB / 389.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.4292, allocations: 12.95 kB / 389.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.43, allocations: 190.9 kB / 389.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/0.4301, allocations: 7.656 kB / 389.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.4306, allocations: 102.9 kB / 390 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.4307, allocations: 27.91 kB / 390.1 MB, free: 13.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.0008752/0.4315, allocations: 0.5199 MB / 390.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4317, allocations: 91.42 kB / 390.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.433, allocations: 0.7069 MB / 391.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.433, allocations: 5.469 kB / 391.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4331, allocations: 3.5 kB / 391.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4331, allocations: 4.828 kB / 391.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4353, allocations: 1.661 MB / 393.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4353, allocations: 2.156 kB / 393.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.4357, allocations: 107.3 kB / 393.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.4362, allocations: 146.1 kB / 393.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.4362, allocations: 19.02 kB / 393.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.4389, allocations: 2.616 MB / 395.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4389, allocations: 1.344 kB / 395.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.4411, allocations: 1.508 MB / 397.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.4414, allocations: 187.3 kB / 397.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4415, allocations: 14.5 kB / 397.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.442, allocations: 68.84 kB / 397.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4421, allocations: 62.44 kB / 397.8 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.4422, allocations: 19.83 kB / 397.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009339/0.4431, allocations: 0.723 MB / 398.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4431, allocations: 0 / 398.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4443, allocations: 367.8 kB / 398.9 MB, free: 8.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.4446, allocations: 132.6 kB / 399 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.4457, allocations: 0.792 MB / 399.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4457, allocations: 0.625 kB / 399.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.4466, allocations: 0.6012 MB / 400.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.4475, allocations: 181 kB / 400.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.4513, allocations: 3.327 MB / 403.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/0.4521, allocations: 1.465 MB / 405.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.4523, allocations: 67.42 kB / 405.4 MB, free: 1.531 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4523, allocations: 4 kB / 405.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of Templates: time 0.02907/0.4814, allocations: 19.49 MB / 424.9 MB, free: 14.11 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductanceCalcHelperMain.o] Error 1